作者 李宇航

合并分支 'lyh-server' 到 'master'

gx



查看合并请求 !1772
@@ -32,8 +32,8 @@ class GoogleLinkController extends BaseController @@ -32,8 +32,8 @@ class GoogleLinkController extends BaseController
32 $data = $linkService->linkPageData($this->user['domain'],$this->user['project_id']); 32 $data = $linkService->linkPageData($this->user['domain'],$this->user['project_id']);
33 $lists = paginateArray($data,$this->page,$this->row); 33 $lists = paginateArray($data,$this->page,$this->row);
34 } 34 }
35 - $lists['y_total'] = $linkModel->counts(['status'=>1]);  
36 - $lists['n_total'] = $linkModel->counts(['status'=>0]); 35 + $lists['y_total'] = $linkModel->counts(['status'=>1,'project_id'=>$this->user['project_id']]);
  36 + $lists['n_total'] = $linkModel->counts(['status'=>0,'project_id'=>$this->user['project_id']]);
37 $this->response('success',Code::SUCCESS,$lists); 37 $this->response('success',Code::SUCCESS,$lists);
38 } 38 }
39 39