mirror of
https://github.com/v2board/v2board.git
synced 2025-01-25 15:39:10 +08:00
update tutorial
This commit is contained in:
parent
1b7fc9529f
commit
f7fc6b9dfc
@ -8,7 +8,8 @@ class TutorialSave extends FormRequest
|
||||
{
|
||||
CONST RULES = [
|
||||
'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',
|
||||
'icon' => 'required'
|
||||
];
|
||||
|
@ -164,4 +164,4 @@ ALTER TABLE `v2_order`
|
||||
ADD `refund_amount` int(11) NULL COMMENT '退款金额' AFTER `surplus_amount`;
|
||||
|
||||
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