作者 lyh

gx

... ... @@ -21,7 +21,7 @@ class ProjectCountryLogic extends BaseLogic
* @time :2023/4/28 17:03
*/
public function country_info(){
$lists = $this->model->read(['project_id'=>$this->param['project_id']]);
$lists = $this->model->read(['project_id'=>$this->user['project_id']]);
if (empty($lists)){
$this->fail('当前数据不存在');
}
... ... @@ -35,7 +35,7 @@ class ProjectCountryLogic extends BaseLogic
* @time :2023/4/28 17:42
*/
public function country_edit(){
$rs = $this->model->edit($this->param,['project_id'=>$this->param['project_id']]);
$rs = $this->model->edit($this->param,['project_id'=>$this->user['project_id']]);
if($rs === false){
$this->fail('当前数据不存在');
}
... ...