mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 00:29:09 +08:00
1.2.1
This commit is contained in:
parent
3bfd64d8ca
commit
92f44d7a2e
@ -16,7 +16,7 @@ class NoticeSave extends FormRequest
|
|||||||
return [
|
return [
|
||||||
'title' => 'required',
|
'title' => 'required',
|
||||||
'content' => 'required',
|
'content' => 'required',
|
||||||
'img_url' => 'url'
|
'img_url' => 'nullable|url'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@ class TutorialSave extends FormRequest
|
|||||||
'title' => 'required',
|
'title' => 'required',
|
||||||
// 1:windows 2:macos 3:ios 4:android 5:linux 6:router
|
// 1:windows 2:macos 3:ios 4:android 5:linux 6:router
|
||||||
'category_id' => 'required|in:1,2,3,4,5,6',
|
'category_id' => 'required|in:1,2,3,4,5,6',
|
||||||
'icon' => 'required',
|
|
||||||
'steps' => 'required'
|
'steps' => 'required'
|
||||||
];
|
];
|
||||||
/**
|
/**
|
||||||
@ -29,7 +28,6 @@ class TutorialSave extends FormRequest
|
|||||||
'title.required' => '标题不能为空',
|
'title.required' => '标题不能为空',
|
||||||
'category_id.required' => '分类不能为空',
|
'category_id.required' => '分类不能为空',
|
||||||
'category_id.in' => '分类格式不正确',
|
'category_id.in' => '分类格式不正确',
|
||||||
'icon.required' => '图标不能为空',
|
|
||||||
'steps.required' => '教程步骤不能为空'
|
'steps.required' => '教程步骤不能为空'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
2
public/assets/admin/umi.js
vendored
2
public/assets/admin/umi.js
vendored
File diff suppressed because one or more lines are too long
2
public/assets/user/umi.js
vendored
2
public/assets/user/umi.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user