作者 lyh

重写demo脚本

@@ -32,7 +32,7 @@ class CustomModuleExtentController extends BaseController @@ -32,7 +32,7 @@ class CustomModuleExtentController extends BaseController
32 'module_id.required' => 'module_id不能为空', 32 'module_id.required' => 'module_id不能为空',
33 ]); 33 ]);
34 $this->map['project_id'] = $this->user['project_id']; 34 $this->map['project_id'] = $this->user['project_id'];
35 - $filed = ['id','title','status','type','operator_id','project_id','module_id','created_at','updated_at']; 35 + $filed = ['id','title','key','status','type','operator_id','project_id','module_id','created_at','updated_at'];
36 $lists = $customModuleExtend->list($this->map,$this->order,$filed); 36 $lists = $customModuleExtend->list($this->map,$this->order,$filed);
37 $this->response('success',Code::SUCCESS,$lists); 37 $this->response('success',Code::SUCCESS,$lists);
38 } 38 }