|
@@ -46,12 +46,12 @@ class ReplaceHtmlController extends BaseController |
|
@@ -46,12 +46,12 @@ class ReplaceHtmlController extends BaseController |
|
46
|
public function replaceTemplateMainHtml(ReplaceHtmlLogic $logic){
|
46
|
public function replaceTemplateMainHtml(ReplaceHtmlLogic $logic){
|
|
47
|
$this->request->validate([
|
47
|
$this->request->validate([
|
|
48
|
'name'=>'required',
|
48
|
'name'=>'required',
|
|
49
|
- 'html'=>'required',
|
49
|
+// 'html'=>'required',
|
|
50
|
'old_html'=>'required',
|
50
|
'old_html'=>'required',
|
|
51
|
'project_id'=>'required',
|
51
|
'project_id'=>'required',
|
|
52
|
],[
|
52
|
],[
|
|
53
|
'name.required' => '需替换页面标识不能为空',
|
53
|
'name.required' => '需替换页面标识不能为空',
|
|
54
|
- 'html.required' => 'html不能为空',
|
54
|
+// 'html.required' => 'html不能为空',
|
|
55
|
'old_html.required' => '替换前的html不能为空',
|
55
|
'old_html.required' => '替换前的html不能为空',
|
|
56
|
'project_id.required' => 'project_id不能为空',
|
56
|
'project_id.required' => 'project_id不能为空',
|
|
57
|
]);
|
57
|
]);
|