作者 lyh

gx

@@ -90,13 +90,13 @@ class CustomModuleExtentController extends BaseController @@ -90,13 +90,13 @@ class CustomModuleExtentController extends BaseController
90 * @method :post 90 * @method :post
91 * @time :2023/12/21 9:25 91 * @time :2023/12/21 9:25
92 */ 92 */
93 - public function extendContent(CustomModuleExtend $content){ 93 + public function extendContent(CustomModuleExtend $extend){
94 $this->request->validate([ 94 $this->request->validate([
95 'module_id'=>['required'], 95 'module_id'=>['required'],
96 ],[ 96 ],[
97 'module_id.required' => 'module_id不能为空', 97 'module_id.required' => 'module_id不能为空',
98 ]); 98 ]);
99 - $lists = $content->list($this->map,'created_at'); 99 + $lists = $extend->list($this->map,'created_at');
100 $this->response('success',Code::SUCCESS,$lists); 100 $this->response('success',Code::SUCCESS,$lists);
101 } 101 }
102 102