作者 lyh

gx

@@ -275,12 +275,12 @@ class ProjectController extends BaseController @@ -275,12 +275,12 @@ class ProjectController extends BaseController
275 $item['plan'] = Project::planMap()[$item['plan']]; 275 $item['plan'] = Project::planMap()[$item['plan']];
276 $item['created_at'] = date('Y年m月d日', strtotime($item['cooperate_date'])); 276 $item['created_at'] = date('Y年m月d日', strtotime($item['cooperate_date']));
277 $item['autologin_code'] = getAutoLoginCode($item['id']); 277 $item['autologin_code'] = getAutoLoginCode($item['id']);
278 - $domainModel = new DomainInfo();  
279 - $item['domain'] = !empty($item['domain']) ? $domainModel->getDomain($item['domain']) : '';  
280 - $item['product_num'] = $data['product'] ?? 0;  
281 - $item['keyword_num'] = $item['key'] ?? 0;  
282 - $item['autologin_code'] = getAutoLoginCode($item['id']);  
283 - $item['article_num'] = ($data['blog'] ?? 0) + ($data['news'] ?? 0); 278 +// $domainModel = new DomainInfo();
  279 +// $item['domain'] = !empty($item['domain']) ? $domainModel->getDomain($item['domain']) : '';
  280 +// $item['product_num'] = $data['product'] ?? 0;
  281 +// $item['keyword_num'] = $item['key'] ?? 0;
  282 +// $item['autologin_code'] = getAutoLoginCode($item['id']);
  283 +// $item['article_num'] = ($data['blog'] ?? 0) + ($data['news'] ?? 0);
284 // $item['task_finish_num'] = Task::getNumByProjectId($item['id'], Task::STATUS_DOWN); 284 // $item['task_finish_num'] = Task::getNumByProjectId($item['id'], Task::STATUS_DOWN);
285 // $item['task_pending_num'] = Task::getNumByProjectId($item['id'], [Task::STATUS_DONGING, Task::STATUS_WAIT]); 285 // $item['task_pending_num'] = Task::getNumByProjectId($item['id'], [Task::STATUS_DONGING, Task::STATUS_WAIT]);
286 return $item; 286 return $item;