作者 lyh

gx

@@ -33,7 +33,11 @@ class CustomModuleController extends BaseController @@ -33,7 +33,11 @@ class CustomModuleController extends BaseController
33 * @time :2023/12/4 15:43 33 * @time :2023/12/4 15:43
34 */ 34 */
35 public function lists(){ 35 public function lists(){
36 - ProjectServer::useProject($this->param['project_id']); 36 +
  37 + $result = ProjectServer::useProject($this->param['project_id']);
  38 + if($result === false){
  39 + $this->response('success');
  40 + }
37 $customModule = new CustomModule(); 41 $customModule = new CustomModule();
38 $this->map['status'] = 0; 42 $this->map['status'] = 0;
39 $lists = $customModule->lists($this->map,$this->page,$this->row,$this->order = ['topping_time','sort','id']); 43 $lists = $customModule->lists($this->map,$this->page,$this->row,$this->order = ['topping_time','sort','id']);