mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update tutorial
This commit is contained in:
parent
a56faa7e8e
commit
1b7fc9529f
@ -12,7 +12,7 @@ class TutorialController extends Controller
|
||||
public function fetch(Request $request)
|
||||
{
|
||||
return response([
|
||||
'data' => Tutorial::all()
|
||||
'data' => Tutorial::get()->groupBy('category')
|
||||
]);
|
||||
}
|
||||
|
||||
|
@ -162,3 +162,6 @@ ADD `surplus_amount` int(11) NULL COMMENT '剩余价值' AFTER `discount_amount`
|
||||
|
||||
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`;
|
||||
|
Loading…
Reference in New Issue
Block a user