作者 lyh

gx

@@ -23,7 +23,7 @@ class ProjectCountryLogic extends BaseLogic @@ -23,7 +23,7 @@ class ProjectCountryLogic extends BaseLogic
23 public function country_info(){ 23 public function country_info(){
24 $lists = $this->model->read(['project_id'=>$this->user['project_id']]); 24 $lists = $this->model->read(['project_id'=>$this->user['project_id']]);
25 if (empty($lists)){ 25 if (empty($lists)){
26 - $lists = []; 26 + return [];
27 } 27 }
28 $lists['country_lists'] = $this->countryListsFormat($lists['country_lists']); 28 $lists['country_lists'] = $this->countryListsFormat($lists['country_lists']);
29 return $this->success($lists); 29 return $this->success($lists);