4
0
Fork 0
dcat-admin 商品管理
 
 
 
Go to file
panliang 4890bae068 1 2022-09-02 09:59:00 +08:00
assets init 2022-09-02 09:42:26 +08:00
database init 2022-09-02 09:42:26 +08:00
lang init 2022-09-02 09:42:26 +08:00
routes init 2022-09-02 09:42:26 +08:00
src init 2022-09-02 09:42:26 +08:00
views init 2022-09-02 09:42:26 +08:00
.gitignore init 2022-09-02 09:42:26 +08:00
README.md 1 2022-09-02 09:59:00 +08:00
composer.json init 2022-09-02 09:42:26 +08:00
goods-attr.json init 2022-09-02 09:42:26 +08:00

README.md

Dcat Admin Extension Goods

Dcat-admin 商品管理

安装

  • 进入项目目录
  • mkdir packages && cd packages
  • git clone https://gitea.peidikeji.cn/pdkj/dcat-admin-goods.git
  • composer config repositories.peidikeji/dcat-admin-user path ./packages/dcat-admin-goods
  • composer require peidikeji/dcat-admin-goods:dev-develop
  • php artisan vendor:publish --provider=Peidikeji\Goods\GoodsServiceProvider

数据表

商品分类: goods_category

column type nullable default comment
id bigint not null - 主键
name varchar(191) not null - 分类名称
image varchar(191) null - 分类图片
description varchar(191) null - 描述
parent_id bigint not null 0 上级 id
level int not null 1 层级
sort int not null 1 排序(asc)
is_enable int not null 1 是否可用(0, 1)
path varchar(191) not null '-' 所有上级 id(1-2-3-, -)
created_at timestamp null - 创建时间
updated_at timestamp null - 更新时间

商品类别: goods_type

column type nullable default comment
id bigint not null - 主键
name varchar(191) not null - 名称
attr json null - 属性展示