作者 lyh

gx

@@ -90,7 +90,8 @@ class OnlineCheckLogic extends BaseLogic @@ -90,7 +90,8 @@ class OnlineCheckLogic extends BaseLogic
90 } 90 }
91 $projectModel = new Project(); 91 $projectModel = new Project();
92 //提交审核修改状态为审核中 92 //提交审核修改状态为审核中
93 - $projectModel->edit(['status'=>1],['id'=>$this->param['id']]); 93 + $rs = $projectModel->edit(['status'=>1],['id'=>$this->param['id']]);
  94 + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($rs, true) . PHP_EOL, FILE_APPEND);
94 return $this->success(); 95 return $this->success();
95 } 96 }
96 } 97 }
@@ -30,7 +30,6 @@ class CustomModuleCategoryLogic extends BaseLogic @@ -30,7 +30,6 @@ class CustomModuleCategoryLogic extends BaseLogic
30 * @time :2023/12/5 17:12 30 * @time :2023/12/5 17:12
31 */ 31 */
32 public function getCateList(){ 32 public function getCateList(){
33 - $this->param['project_id'] = $this->user['project_id'];  
34 $this->param['status'] = 0; 33 $this->param['status'] = 0;
35 if(isset($this->param['id']) && !empty($this->param['id'])){ 34 if(isset($this->param['id']) && !empty($this->param['id'])){
36 $str = []; 35 $str = [];