作者 lyh

gx

... ... @@ -23,7 +23,7 @@ class ProjectCountryLogic extends BaseLogic
public function country_info(){
$lists = $this->model->read(['project_id'=>$this->user['project_id']]);
if (empty($lists)){
$this->fail('当前数据不存在');
$lists = [];
}
return $this->success($lists);
}
... ...
... ... @@ -25,6 +25,7 @@ class ProofreadingLogic extends BaseLogic
* @time :2023/6/12 11:06
*/
public function proofreadingList($map,$p,$row,$order = 'created_at',$filed = ['*']){
$map['project_id'] = $this->user['project_id'];
$list = $this->model->lists($map,$p,$row,$order,$filed);
return $this->success($list);
}
... ...