mirror of
https://github.com/v2board/v2board.git
synced 2025-01-26 16:09:09 +08:00
update tutorial
This commit is contained in:
parent
1b7fc9529f
commit
f7fc6b9dfc
@ -8,7 +8,8 @@ class TutorialSave extends FormRequest
|
|||||||
{
|
{
|
||||||
CONST RULES = [
|
CONST RULES = [
|
||||||
'title' => 'required',
|
'title' => 'required',
|
||||||
'category' => 'required|in:windows,macos,ios,android,linux,router',
|
// 1:windows 2:macos 3:ios 4:android 5:linux 6:router
|
||||||
|
'category' => 'required|in:1,2,3,4,5,6',
|
||||||
'description' => 'required',
|
'description' => 'required',
|
||||||
'icon' => 'required'
|
'icon' => 'required'
|
||||||
];
|
];
|
||||||
|
@ -164,4 +164,4 @@ ALTER TABLE `v2_order`
|
|||||||
ADD `refund_amount` int(11) NULL COMMENT '退款金额' AFTER `surplus_amount`;
|
ADD `refund_amount` int(11) NULL COMMENT '退款金额' AFTER `surplus_amount`;
|
||||||
|
|
||||||
ALTER TABLE `v2_tutorial`
|
ALTER TABLE `v2_tutorial`
|
||||||
ADD `category` varchar(255) COLLATE 'utf8_general_ci' NOT NULL AFTER `description`;
|
ADD `category_id` int(11) NOT NULL AFTER `id`;
|
||||||
|
Loading…
Reference in New Issue
Block a user