feat: 添加横幅相关接口
This commit is contained in:
@@ -36,7 +36,7 @@ class CreateSysBannerItem extends Migrator
|
||||
->addColumn('type', 'string', ['limit' => 16, 'null' => false, 'comment' => '类型: image为图片, video为视频'])
|
||||
->addColumn('image', 'string', ['limit' => 255, 'null' => false, 'comment' => '图片'])
|
||||
->addColumn('video', 'string', ['limit' => 255, 'null' => false, 'comment' => '视频'])
|
||||
->addColumn('link_to', 'string', ['limit' => 64, 'null' => false, 'comment' => '链接到(类型): article:文章, goods_category:商品分类, goods:商品, link:自定义链接'])
|
||||
->addColumn('link_to', 'string', ['limit' => 64, 'null' => false, 'comment' => '链接到(类型): article:文章, goods_category:商品分类, goods:商品, custom:自定义链接'])
|
||||
->addColumn('link', 'string', ['limit' => 255, 'null' => false, 'comment' => '链接'])
|
||||
->addColumn('sort', 'integer', ['limit' => 11, 'null' => false, 'default' => 0, 'comment' => '排序'])
|
||||
->addColumn('status', 'boolean', ['limit' => 1, 'null' => false, 'default' => 1, 'comment' => '-1为禁用, 1为启用'])
|
||||
|
||||
Reference in New Issue
Block a user