正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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); |
-
请 注册 或 登录 后发表评论