Merge branch 'dev' of http://47.244.231.31:8099/zhl/globalso-v6 into dev
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -21,7 +21,7 @@ class ProjectCountryLogic extends BaseLogic | @@ -21,7 +21,7 @@ class ProjectCountryLogic extends BaseLogic | ||
| 21 | * @time :2023/4/28 17:03 | 21 | * @time :2023/4/28 17:03 |
| 22 | */ | 22 | */ |
| 23 | public function country_info(){ | 23 | public function country_info(){ |
| 24 | - $lists = $this->model->read(['project_id'=>$this->param['project_id']]); | 24 | + $lists = $this->model->read(['project_id'=>$this->user['project_id']]); |
| 25 | if (empty($lists)){ | 25 | if (empty($lists)){ |
| 26 | $this->fail('当前数据不存在'); | 26 | $this->fail('当前数据不存在'); |
| 27 | } | 27 | } |
| @@ -35,7 +35,7 @@ class ProjectCountryLogic extends BaseLogic | @@ -35,7 +35,7 @@ class ProjectCountryLogic extends BaseLogic | ||
| 35 | * @time :2023/4/28 17:42 | 35 | * @time :2023/4/28 17:42 |
| 36 | */ | 36 | */ |
| 37 | public function country_edit(){ | 37 | public function country_edit(){ |
| 38 | - $rs = $this->model->edit($this->param,['project_id'=>$this->param['project_id']]); | 38 | + $rs = $this->model->edit($this->param,['project_id'=>$this->user['project_id']]); |
| 39 | if($rs === false){ | 39 | if($rs === false){ |
| 40 | $this->fail('当前数据不存在'); | 40 | $this->fail('当前数据不存在'); |
| 41 | } | 41 | } |
-
请 注册 或 登录 后发表评论