|
...
|
...
|
@@ -19,17 +19,6 @@ class WebSettingHtmlController extends BaseController |
|
|
|
* @time :2023/4/28 14:45
|
|
|
|
*/
|
|
|
|
public function save(WebSettingHtmlLogic $webSettingHtmlLogic){
|
|
|
|
if(isset($this->param) && !empty($this->param)){
|
|
|
|
$this->request->validate([
|
|
|
|
'head_html'=>'required',
|
|
|
|
'body_html'=>'required',
|
|
|
|
'footer_html'=>'required'
|
|
|
|
],[
|
|
|
|
'head_html.required' => 'head_html不能为空',
|
|
|
|
'body_html.required' => 'body_html不能为空',
|
|
|
|
'footer_html.required' => 'footer_html不能为空'
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
$info = $webSettingHtmlLogic->setting_html_save();
|
|
|
|
$this->response('success',Code::SUCCESS,$info);
|
|
|
|
}
|
...
|
...
|
|