diff --git a/.idea/dataSources.local.xml b/.idea/dataSources.local.xml
index f6abbf6..5a2d62d 100644
--- a/.idea/dataSources.local.xml
+++ b/.idea/dataSources.local.xml
@@ -1,10 +1,11 @@
-
+
#@
`
+ true
master_key
diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml
index 0ab0f5a..f0fb84e 100644
--- a/.idea/dataSources.xml
+++ b/.idea/dataSources.xml
@@ -1,7 +1,7 @@
-
+
mysql.8
true
com.mysql.cj.jdbc.Driver
diff --git a/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765.xml b/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765.xml
deleted file mode 100644
index 2301d98..0000000
--- a/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765.xml
+++ /dev/null
@@ -1,3295 +0,0 @@
-
-
-
-
- exact
- InnoDB
- InnoDB
- |root||root||ALTER|G
-|root||root||ALTER ROUTINE|G
-|root||mysql.infoschema|localhost|AUDIT_ABORT_EXEMPT|G
-|root||mysql.session|localhost|AUDIT_ABORT_EXEMPT|G
-|root||mysql.sys|localhost|AUDIT_ABORT_EXEMPT|G
-|root||mysql.session|localhost|BACKUP_ADMIN|G
-|root||mysql.session|localhost|CLONE_ADMIN|G
-|root||mysql.session|localhost|CONNECTION_ADMIN|G
-|root||root||CREATE|G
-|root||root||CREATE ROLE|G
-|root||root||CREATE ROUTINE|G
-|root||root||CREATE TABLESPACE|G
-|root||root||CREATE TEMPORARY TABLES|G
-|root||root||CREATE USER|G
-|root||root||CREATE VIEW|G
-|root||root||DELETE|G
-|root||root||DROP|G
-|root||root||DROP ROLE|G
-|root||root||EVENT|G
-|root||root||EXECUTE|G
-|root||root||FILE|G
-|root||root||INDEX|G
-|root||root||INSERT|G
-|root||root||LOCK TABLES|G
-|root||mysql.session|localhost|PERSIST_RO_VARIABLES_ADMIN|G
-|root||root||PROCESS|G
-|root||root||REFERENCES|G
-|root||root||RELOAD|G
-|root||root||REPLICATION CLIENT|G
-|root||root||REPLICATION SLAVE|G
-|root||mysql.infoschema|localhost|SELECT|G
-|root||root||SELECT|G
-|root||mysql.session|localhost|SESSION_VARIABLES_ADMIN|G
-|root||root||SHOW DATABASES|G
-|root||root||SHOW VIEW|G
-|root||mysql.session|localhost|SHUTDOWN|G
-|root||root||SHUTDOWN|G
-|root||mysql.session|localhost|SUPER|G
-|root||root||SUPER|G
-|root||mysql.infoschema|localhost|SYSTEM_USER|G
-|root||mysql.session|localhost|SYSTEM_USER|G
-|root||mysql.sys|localhost|SYSTEM_USER|G
-|root||mysql.session|localhost|SYSTEM_VARIABLES_ADMIN|G
-|root||root||TRIGGER|G
-|root||root||UPDATE|G
-|root||root||grant option|G
-gitea|schema||gitea||ALTER|G
-gitea|schema||gitea||ALTER ROUTINE|G
-gitea|schema||gitea||CREATE|G
-gitea|schema||gitea||CREATE ROUTINE|G
-gitea|schema||gitea||CREATE TEMPORARY TABLES|G
-gitea|schema||gitea||CREATE VIEW|G
-gitea|schema||gitea||DELETE|G
-gitea|schema||gitea||DROP|G
-gitea|schema||gitea||EVENT|G
-gitea|schema||gitea||EXECUTE|G
-gitea|schema||gitea||INDEX|G
-gitea|schema||gitea||INSERT|G
-gitea|schema||gitea||LOCK TABLES|G
-gitea|schema||gitea||REFERENCES|G
-gitea|schema||gitea||SELECT|G
-gitea|schema||gitea||SHOW VIEW|G
-gitea|schema||gitea||TRIGGER|G
-gitea|schema||gitea||UPDATE|G
-giteadb|schema||gitea||ALTER|G
-giteadb|schema||gitea||ALTER ROUTINE|G
-giteadb|schema||gitea||CREATE|G
-giteadb|schema||gitea||CREATE ROUTINE|G
-giteadb|schema||gitea||CREATE TEMPORARY TABLES|G
-giteadb|schema||gitea||CREATE VIEW|G
-giteadb|schema||gitea||DELETE|G
-giteadb|schema||gitea||DROP|G
-giteadb|schema||gitea||EVENT|G
-giteadb|schema||gitea||EXECUTE|G
-giteadb|schema||gitea||INDEX|G
-giteadb|schema||gitea||INSERT|G
-giteadb|schema||gitea||LOCK TABLES|G
-giteadb|schema||gitea||REFERENCES|G
-giteadb|schema||gitea||SELECT|G
-giteadb|schema||gitea||SHOW VIEW|G
-giteadb|schema||gitea||TRIGGER|G
-giteadb|schema||gitea||UPDATE|G
-performance_schema|schema||mysql.session|localhost|SELECT|G
-sys|schema||mysql.sys|localhost|TRIGGER|G
- 8.0.28
-
-
- armscii8
- 1
-
-
- armscii8
-
-
- ascii
- 1
-
-
- ascii
-
-
- big5
- 1
-
-
- big5
-
-
- binary
- 1
-
-
- cp1250
- 1
-
-
- cp1250
-
-
- cp1250
-
-
- cp1250
-
-
- cp1250
-
-
- cp1251
-
-
- cp1251
-
-
- cp1251
-
-
- cp1251
- 1
-
-
- cp1251
-
-
- cp1256
- 1
-
-
- cp1256
-
-
- cp1257
-
-
- cp1257
-
-
- cp1257
- 1
-
-
- cp850
- 1
-
-
- cp850
-
-
- cp852
- 1
-
-
- cp852
-
-
- cp866
- 1
-
-
- cp866
-
-
- cp932
- 1
-
-
- cp932
-
-
- dec8
- 1
-
-
- dec8
-
-
- eucjpms
- 1
-
-
- eucjpms
-
-
- euckr
- 1
-
-
- euckr
-
-
- gb18030
- 1
-
-
- gb18030
-
-
- gb18030
-
-
- gb2312
- 1
-
-
- gb2312
-
-
- gbk
- 1
-
-
- gbk
-
-
- geostd8
- 1
-
-
- geostd8
-
-
- greek
- 1
-
-
- greek
-
-
- hebrew
- 1
-
-
- hebrew
-
-
- hp8
- 1
-
-
- hp8
-
-
- keybcs2
- 1
-
-
- keybcs2
-
-
- koi8r
- 1
-
-
- koi8r
-
-
- koi8u
- 1
-
-
- koi8u
-
-
- latin1
-
-
- latin1
- 1
-
-
- latin1
-
-
- latin1
-
-
- latin1
-
-
- latin1
-
-
- latin1
-
-
- latin1
-
-
- latin2
-
-
- latin2
- 1
-
-
- latin2
-
-
- latin2
-
-
- latin2
-
-
- latin5
- 1
-
-
- latin5
-
-
- latin7
-
-
- latin7
- 1
-
-
- latin7
-
-
- latin7
-
-
- macce
- 1
-
-
- macce
-
-
- macroman
- 1
-
-
- macroman
-
-
- sjis
- 1
-
-
- sjis
-
-
- swe7
- 1
-
-
- swe7
-
-
- tis620
- 1
-
-
- tis620
-
-
- ucs2
- 1
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ucs2
-
-
- ujis
- 1
-
-
- ujis
-
-
- utf16
- 1
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16
-
-
- utf16le
- 1
-
-
- utf16le
-
-
- utf32
- 1
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf32
-
-
- utf8
- 1
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
- 1
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4
-
-
- utf8mb4_0900_ai_ci
-
-
- utf8_general_ci
-
-
- utf8mb4_0900_ai_ci
-
-
- utf8mb4_0900_ai_ci
-
-
- utf8mb4_0900_ai_ci
-
-
- 1
- 2023-12-16.23:57:15
- 2023-12-16.07:57:14
- utf8_general_ci
-
-
- caching_sha2_password
-
-
- caching_sha2_password
-
-
- 0
- localhost
- caching_sha2_password
-
-
- 0
- localhost
- caching_sha2_password
-
-
- 0
- localhost
- caching_sha2_password
-
-
- 分类品牌
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 商品分类
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 分类品牌
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 优惠券信息
- InnoDB
- utf8_general_ci
-
-
- 优惠券范围表
- InnoDB
- utf8_general_ci
-
-
- 优惠券领用表
- InnoDB
- utf8_general_ci
-
-
- 订单
- InnoDB
- utf8_general_ci
-
-
- 订单项信息
- InnoDB
- utf8_general_ci
-
-
- 订单操作日志记录
- InnoDB
- utf8_general_ci
-
-
- 订单统计
- InnoDB
- utf8_general_ci
-
-
- 付款信息表
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 商品
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 商品属性表
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 商品sku属性表
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 商品sku
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 商品规格
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 商品单位
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 地区信息表
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 系统用户登录记录
- InnoDB
- utf8_general_ci
-
-
- 菜单表
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 操作日志记录
- InnoDB
- utf8_general_ci
-
-
- 角色
- InnoDB
- utf8_general_ci
-
-
- 角色菜单
- InnoDB
- utf8_general_ci
-
-
- 用户表
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 用户角色
- InnoDB
- utf8_general_ci
-
-
- 用户地址表
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 用户浏览记录表
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 用户收藏表
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 会员表
- InnoDB
- utf8mb4_0900_ai_ci
-
-
- 5
- ID
- bigint|0s
- 1
- 1
-
-
- 品牌名称
- varchar(100)|0s
- 2
- utf8_general_ci
-
-
- 品牌图标
- varchar(255)|0s
- 3
- utf8_general_ci
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 4
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 5
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 6
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 9992
- 分类id
- bigint|0s
- 1
- 1
-
-
- 分类名称
- varchar(50)|0s
- 2
-
-
- varchar(200)|0s
- 3
-
-
- 父分类id
- bigint|0s
- 4
-
-
- 是否显示[0-不显示,1显示]
- tinyint|0s
- 5
-
-
- 排序
- int|0s
- 6
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 7
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 8
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 9
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 7
- ID
- bigint|0s
- 1
- 1
-
-
- 品牌ID
- bigint|0s
- 2
-
-
- 分类ID
- bigint|0s
- 3
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 4
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 5
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 6
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 7
- id
- bigint|0s
- 1
- 1
-
-
- 购物券类型 1 现金券 2 满减券
- tinyint|0s
- 1
- 1
- 2
-
-
- 优惠卷名字
- varchar(100)|0s
- 3
-
-
- 金额
- decimal(10,2 digit)|0s
- 0.00
- 1
- 4
-
-
- 使用门槛 0->没门槛
- decimal(10,2 digit)|0s
- 0.00
- 1
- 5
-
-
- 可以领取的开始日期
- date|0s
- 6
-
-
- 可以领取的结束日期
- date|0s
- 7
-
-
- 使用范围[1->全场通用;2->指定分类;3->指定商品]
- tinyint|0s
- 1
- 1
- 8
-
-
- 使用范围描述
- varchar(200)|0s
- 9
-
-
- 发行数量
- int|0s
- 1
- 1
- 10
-
-
- 每人限领张数
- int|0s
- 1
- 1
- 11
-
-
- 已使用数量
- int|0s
- 0
- 1
- 12
-
-
- 领取数量
- int|0s
- 0
- 1
- 13
-
-
- 过期时间
- datetime|0s
- 14
-
-
- 发布状态[0-未发布,1-已发布]
- tinyint(1)|0s
- 15
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 16
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 17
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 18
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 7
- 购物券编号
- bigint|0s
- 1
- 1
-
-
- 优惠券id
- bigint|0s
- 0
- 1
- 2
-
-
- 范围类型; 1->商品(sku) ;2->分类
- tinyint|0s
- 1
- 1
- 3
-
-
- bigint|0s
- 0
- 1
- 4
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 5
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 6
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 7
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 17
- 编号
- bigint|0s
- 1
- 1
-
-
- 购物券ID
- bigint|0s
- 2
-
-
- 用户ID
- bigint|0s
- 3
-
-
- 订单ID
- bigint|0s
- 4
-
-
- 购物券状态(1:未使用 2:已使用)
- tinyint|0s
- 5
-
-
- 获取类型(1:后台赠送;2:主动获取)
- tinyint|0s
- 2
- 1
- 6
-
-
- 获取时间
- datetime|0s
- 7
-
-
- 使用时间
- datetime|0s
- 8
-
-
- 支付时间
- datetime|0s
- 9
-
-
- 过期时间
- datetime|0s
- 10
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 11
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 12
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 13
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 210
- id
- bigint|0s
- 1
- 1
-
-
- 会员_id
- bigint|0s
- 0
- 1
- 2
-
-
- 昵称
- varchar(200)|0s
- 3
-
-
- 订单号
- char(64)|0s
- ''
- 1
- 4
-
-
- 使用的优惠券
- bigint|0s
- 5
-
-
- 订单总额
- decimal(10,2 digit)|0s
- 0.00
- 1
- 6
-
-
- 优惠券
- decimal(10,2 digit)|0s
- 0.00
- 1
- 7
-
-
- 原价金额
- decimal(10,2 digit)|0s
- 0.00
- 1
- 8
-
-
- 运费
- decimal(10,2 digit)|0s
- 0.00
- 1
- 9
-
-
- 支付方式【1->微信 2->支付宝】
- tinyint|0s
- 10
-
-
- 订单状态【0->待付款;1->待发货;2->已发货;3->待用户收货,已完成;-1->已取消】
- tinyint|0s
- 0
- 1
- 11
-
-
- 收货人姓名
- varchar(100)|0s
- 12
-
-
- 收货人电话
- varchar(32)|0s
- 13
-
-
- 收货人地址标签
- varchar(32)|0s
- 14
-
-
- 省份/直辖市
- bigint|0s
- 15
-
-
- 城市
- bigint|0s
- 16
-
-
- 区
- bigint|0s
- 17
-
-
- 详细地址
- varchar(200)|0s
- 18
-
-
- 支付时间
- datetime|0s
- 19
-
-
- 发货时间
- datetime|0s
- 20
-
-
- 确认收货时间
- datetime|0s
- 21
-
-
- 订单备注
- varchar(500)|0s
- 22
-
-
- 取消订单时间
- datetime|0s
- 23
-
-
- 取消订单原因
- varchar(255)|0s
- 24
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 25
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 26
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 27
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 446
- id
- bigint|0s
- 1
- 1
-
-
- order_id
- bigint|0s
- 2
-
-
- 商品sku编号
- bigint|0s
- 3
-
-
- 商品sku名字
- varchar(255)|0s
- 4
-
-
- 商品sku图片
- varchar(500)|0s
- 5
-
-
- 商品sku价格
- decimal(10,2 digit)|0s
- 6
-
-
- 商品购买的数量
- int|0s
- 7
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 8
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 9
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 10
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 217
- bigint|0s
- 1
- 1
-
-
- 订单id
- bigint|0s
- 2
-
-
- 操作人:用户;系统;后台管理员
- varchar(100)|0s
- 3
-
-
- 订单状态
- int|0s
- 4
-
-
- 备注
- varchar(500)|0s
- 5
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 6
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 7
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 8
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 289
- bigint|0s
- 1
- 1
-
-
- 省份
- varchar(20)|0s
- 2
-
-
- 订单统计日期
- date|0s
- 3
-
-
- 总金额
- decimal(10,2 digit)|0s
- 4
-
-
- 订单总数
- int|0s
- 5
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 6
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 7
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 8
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 81
- 编号
- int|0s
- 1
- 1
-
-
- 用户id
- bigint|0s
- 2
-
-
- 订单号
- varchar(50)|0s
- ''
- 1
- 3
-
-
- 付款方式:1-微信 2-支付宝
- tinyint|0s
- 0
- 1
- 4
-
-
- 交易编号(微信或支付)
- varchar(50)|0s
- 5
-
-
- 支付金额
- decimal(10,2 digit)|0s
- 6
-
-
- 交易内容
- varchar(200)|0s
- 7
-
-
- 支付状态:0-未支付 1-已支付
- char(4)|0s
- 8
-
-
- 回调时间
- datetime|0s
- 9
-
-
- 回调信息
- text|0s
- 10
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 11
-
-
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 12
-
-
- tinyint|0s
- 0
- 1
- 13
-
-
- id
- btree
- 1
-
-
- order_no
- btree
-
-
- 1
- 1
- PRIMARY
-
-
- 4
- ID
- bigint|0s
- 1
- 1
-
-
- 商品名称
- varchar(255)|0s
- 2
- utf8_general_ci
-
-
- 品牌ID
- bigint|0s
- 3
-
-
- 一级分类id
- bigint|0s
- 4
-
-
- 二级分类id
- bigint|0s
- 5
-
-
- 三级分类id
- bigint|0s
- 6
-
-
- 计量单位
- varchar(50)|0s
- 7
- utf8_general_ci
-
-
- 轮播图
- text|0s
- 8
-
-
- 商品规格json
- varchar(255)|0s
- 9
-
-
- 线上状态:0-初始值,1-上架,-1-自主下架
- tinyint|0s
- 0
- 1
- 10
-
-
- 审核状态:0-初始值,1-通过,-1-未通过
- tinyint|0s
- 0
- 1
- 11
-
-
- 审核信息
- varchar(255)|0s
- 12
- utf8_general_ci
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 13
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 14
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 15
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 1
- ID
- bigint|0s
- 1
- 1
-
-
- 商品id
- bigint|0s
- 2
-
-
- 属性key
- varchar(255)|0s
- 3
-
-
- 属性value
- varchar(255)|0s
- 4
- utf8_general_ci
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 5
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 6
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 7
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 4
- ID
- bigint|0s
- 1
- 1
-
-
- 商品id
- bigint|0s
- 2
-
-
- 详情图片地址
- text|0s
- 3
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 4
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 5
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 6
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 11
- ID
- bigint|0s
- 1
- 1
-
-
- 商品编号
- varchar(30)|0s
- 2
- utf8_general_ci
-
-
- varchar(255)|0s
- 3
-
-
- 商品ID
- bigint|0s
- 4
-
-
- 缩略图路径
- varchar(255)|0s
- 5
- utf8_general_ci
-
-
- 售价
- decimal(10,2 digit)|0s
- 6
-
-
- 市场价
- decimal(10,2 digit)|0s
- 7
-
-
- 成本价
- decimal(10,2 digit)|0s
- 8
-
-
- 库存数
- int|0s
- 9
-
-
- 销量
- int|0s
- 0
- 1
- 10
-
-
- sku规格信息json
- varchar(255)|0s
- ''
- 11
- utf8_general_ci
-
-
- 重量
- decimal(10,2 digit)|0s
- 12
-
-
- 体积
- decimal(10,2 digit)|0s
- 13
-
-
- 线上状态:0-初始值,1-上架,-1-自主下架
- tinyint|0s
- 14
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 15
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 16
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 17
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 9
- ID
- bigint|0s
- 1
- 1
-
-
- 规格名称
- varchar(100)|0s
- 2
- utf8_general_ci
-
-
- 规格值:"[{"key":"颜色","valueList":["蓝","白","红"]]"
- text|0s
- 3
- utf8_general_ci
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 4
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 5
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 6
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 6
- ID
- bigint|0s
- 1
- 1
-
-
- 名称
- varchar(255)|0s
- 2
- utf8_general_ci
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 3
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 4
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 5
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 3712
- 地区id
- bigint|0s
- 1
- 1
-
-
- 地区编码
- varchar(10)|0s
- 2
-
-
- 上级地区code
- bigint|0s
- 3
-
-
- 地区名称
- varchar(20)|0s
- 4
-
-
- 地区级别:1-省、自治区、直辖市 2-地级市、地区、自治州、盟 3-市辖区、县级市、县
- int|0s
- 5
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 6
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 7
-
-
- 逻辑删除(1:已删除,0:未删除)
- tinyint|0s
- 0
- 1
- 8
-
-
- id
- btree
- 1
-
-
- code
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- idx_code
-
-
- 4
- 访问ID
- bigint|0s
- 1
- 1
-
-
- 用户账号
- varchar(50)|0s
- ''
- 2
-
-
- 登录IP地址
- varchar(128)|0s
- ''
- 3
-
-
- 登录状态(0成功 1失败)
- tinyint(1)|0s
- 0
- 4
-
-
- 提示信息
- varchar(255)|0s
- ''
- 5
-
-
- 访问时间
- datetime|0s
- 6
-
-
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 7
-
-
- timestamp|0s
- CURRENT_TIMESTAMP
- 8
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 9
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 31
- 编号
- bigint|0s
- 1
- 1
-
-
- 所属上级
- bigint|0s
- 0
- 1
- 2
-
-
- 菜单标题
- varchar(20)|0s
- ''
- 1
- 3
-
-
- 组件名称
- varchar(100)|0s
- 4
-
-
- 排序
- int|0s
- 1
- 1
- 5
-
-
- 状态(0:禁止,1:正常)
- tinyint|0s
- 1
- 1
- 6
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 7
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 8
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 9
-
-
- id
- btree
- 1
-
-
- parent_id
- btree
-
-
- 1
- 1
- PRIMARY
-
-
- 80
- 日志主键
- bigint|0s
- 1
- 1
-
-
- 模块标题
- varchar(50)|0s
- ''
- 2
-
-
- 方法名称
- varchar(100)|0s
- ''
- 3
-
-
- 请求方式
- varchar(10)|0s
- ''
- 4
-
-
- 操作类别(0其它 1后台用户 2手机端用户)
- varchar(20)|0s
- '0'
- 5
-
-
- 操作人员
- varchar(50)|0s
- ''
- 6
-
-
- 请求URL
- varchar(255)|0s
- ''
- 7
-
-
- 主机地址
- varchar(128)|0s
- ''
- 8
-
-
- 请求参数
- varchar(2000)|0s
- ''
- 9
-
-
- 返回参数
- varchar(2000)|0s
- ''
- 10
-
-
- 操作状态(0正常 1异常)
- int|0s
- 0
- 11
-
-
- 错误消息
- varchar(2000)|0s
- ''
- 12
-
-
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 13
-
-
- timestamp|0s
- CURRENT_TIMESTAMP
- 14
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 15
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 41
- 角色id
- bigint|0s
- 1
- 1
-
-
- 角色名称
- varchar(20)|0s
- ''
- 1
- 2
-
-
- 角色编码
- varchar(20)|0s
- 3
-
-
- 描述
- varchar(255)|0s
- 4
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 5
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 6
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 7
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 257
- bigint|0s
- 1
- 1
-
-
- bigint|0s
- 0
- 1
- 2
-
-
- bigint|0s
- 0
- 1
- 3
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 4
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 5
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 6
-
-
- tinyint|0s
- 7
-
-
- id
- btree
- 1
-
-
- role_id
- btree
-
-
- menu_id
- btree
-
-
- 1
- 1
- PRIMARY
-
-
- 16
- 会员id
- bigint|0s
- 1
- 1
-
-
- 用户名
- varchar(20)|0s
- ''
- 1
- 2
-
-
- 密码
- varchar(32)|0s
- ''
- 1
- 3
-
-
- 姓名
- varchar(50)|0s
- 4
-
-
- 手机
- varchar(11)|0s
- 5
-
-
- 头像
- varchar(255)|0s
- 6
-
-
- 描述
- varchar(255)|0s
- 7
-
-
- 状态(1:正常 0:停用)
- tinyint|0s
- 1
- 1
- 8
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 9
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 10
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 11
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 53
- 主键id
- bigint|0s
- 1
- 1
-
-
- 角色id
- bigint|0s
- 0
- 1
- 2
-
-
- 用户id
- bigint|0s
- 0
- 1
- 3
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 4
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 5
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 6
-
-
- id
- btree
- 1
-
-
- role_id
- btree
-
-
- user_id
- btree
-
-
- 1
- 1
- PRIMARY
-
-
- 4
- int|0s
- 1
- 1
-
-
- 用户ID
- int|0s
- 0
- 1
- 2
-
-
- varchar(20)|0s
- ''
- 1
- 3
-
-
- 电话
- varchar(11)|0s
- ''
- 1
- 4
-
-
- 标签名称
- varchar(20)|0s
- 5
-
-
- varchar(20)|0s
- 6
-
-
- varchar(20)|0s
- 7
-
-
- varchar(20)|0s
- 8
-
-
- 详细地址
- varchar(100)|0s
- ''
- 1
- 9
-
-
- 完整地址
- varchar(500)|0s
- 10
-
-
- 是否默认地址(0:否 1:是)
- tinyint|0s
- 1
- 1
- 11
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 12
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 13
-
-
- 删除标识(0:否 1:是)
- tinyint|0s
- 0
- 1
- 14
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
- 10
- 主键
- bigint|0s
- 1
- 1
-
-
- 用户ID
- bigint|0s
- 1
- 2
-
-
- 商品skuID
- bigint|0s
- 0
- 1
- 3
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 4
-
-
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 5
-
-
- tinyint|0s
- 0
- 1
- 6
-
-
- id
- btree
- 1
-
-
- user_id
- btree
-
-
- 1
- 1
- PRIMARY
-
-
- 4
- 主键
- bigint|0s
- 1
- 1
-
-
- 用户ID
- bigint|0s
- 1
- 2
-
-
- 商品skuID
- bigint|0s
- 0
- 1
- 3
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 4
-
-
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 5
-
-
- tinyint|0s
- 0
- 1
- 6
-
-
- id
- btree
- 1
-
-
- user_id
- btree
-
-
- 1
- 1
- PRIMARY
-
-
- 33
- id
- bigint|0s
- 1
- 1
-
-
- 用户名
- varchar(50)|0s
- 2
-
-
- 密码
- varchar(500)|0s
- 3
-
-
- 昵称
- varchar(100)|0s
- 4
-
-
- 电话号码
- varchar(17)|0s
- 5
-
-
- 头像
- varchar(200)|0s
- 6
-
-
- 性别
- tinyint(1)|0s
- 7
-
-
- 备注
- varchar(100)|0s
- 8
-
-
- 微信open id
- varchar(45)|0s
- 9
-
-
- 微信开放平台unionID
- varchar(45)|0s
- 10
-
-
- 最后一次登录ip
- varchar(50)|0s
- 11
-
-
- 最后一次登录时间
- datetime|0s
- 12
-
-
- 状态:1为正常,0为禁止
- tinyint|0s
- 13
-
-
- 创建时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- 14
-
-
- 更新时间
- timestamp|0s
- CURRENT_TIMESTAMP
- 1
- CURRENT_TIMESTAMP
- 15
-
-
- 删除标记(0:不可用 1:可用)
- tinyint|0s
- 0
- 1
- 16
-
-
- id
- btree
- 1
-
-
- 1
- 1
- PRIMARY
-
-
-
\ No newline at end of file
diff --git a/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/db_spzx.fMWaVg.meta b/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/db_spzx.fMWaVg.meta
deleted file mode 100644
index 52b6b8b..0000000
--- a/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/db_spzx.fMWaVg.meta
+++ /dev/null
@@ -1,2 +0,0 @@
-#n:db_spzx
-! [1702742235000, 0, null, null, -2147483648, -2147483648]
diff --git a/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/information_schema.FNRwLQ.meta b/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/information_schema.FNRwLQ.meta
deleted file mode 100644
index 1ff3db2..0000000
--- a/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/information_schema.FNRwLQ.meta
+++ /dev/null
@@ -1,2 +0,0 @@
-#n:information_schema
-! [null, 0, null, null, -2147483648, -2147483648]
diff --git a/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/mysql.osA4Bg.meta b/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/mysql.osA4Bg.meta
deleted file mode 100644
index 86a53f1..0000000
--- a/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/mysql.osA4Bg.meta
+++ /dev/null
@@ -1,2 +0,0 @@
-#n:mysql
-! [null, 0, null, null, -2147483648, -2147483648]
diff --git a/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/performance_schema.kIw0nw.meta b/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/performance_schema.kIw0nw.meta
deleted file mode 100644
index 9394db1..0000000
--- a/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/performance_schema.kIw0nw.meta
+++ /dev/null
@@ -1,2 +0,0 @@
-#n:performance_schema
-! [null, 0, null, null, -2147483648, -2147483648]
diff --git a/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/sys.zb4BAA.meta b/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/sys.zb4BAA.meta
deleted file mode 100644
index 2f4470b..0000000
--- a/.idea/dataSources/3eae447a-3ae1-4be3-aa70-1183cffb0765/storage_v2/_src_/schema/sys.zb4BAA.meta
+++ /dev/null
@@ -1,2 +0,0 @@
-#n:sys
-! [null, 0, null, null, -2147483648, -2147483648]
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index 6dbb144..376fc17 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -8,6 +8,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
index ca22935..30e75dc 100644
--- a/.idea/inspectionProfiles/Project_Default.xml
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -1,14 +1,6 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 322c5da..0abcc97 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,5 +8,5 @@
-
+
\ No newline at end of file
diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml
deleted file mode 100644
index 2b63946..0000000
--- a/.idea/uiDesigner.xml
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
-
-
- -
-
-
- -
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 7389f7c..b05738c 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,27 +4,47 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
@@ -35,14 +55,16 @@
+
@@ -51,37 +73,37 @@
+
+
+
+
+
{
"customColor": "",
"associatedIndex": 5
}
-
+
-
-
-
-
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
@@ -112,8 +143,22 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -121,88 +166,17 @@
-
- 1702710124940
+
+ 1703487755445
- 1702710124940
-
-
-
+ 1703487755445
+
+
-
-
- 1702714985398
-
-
-
- 1702714985398
-
-
-
- 1702725562779
-
-
-
- 1702725562779
-
-
-
- 1702731251043
-
-
-
- 1702731251043
-
-
-
- 1702735339646
-
-
-
- 1702735339646
-
-
-
- 1702737501213
-
-
-
- 1702737501213
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- file://$PROJECT_DIR$/spzx-manager/src/main/java/cn/bunny/mapper/ProductSpecMapper.java
- 22
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 58b5f3a..d4638c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,6 +12,9 @@
spzx-common
spzx-model
spzx-manager
+ spzx-server-gateway
+ spzx-service
+ spzx-service-client
@@ -29,6 +32,9 @@
2.0.21
1.18.20
3.0.1
+ 2022.0.2
+ 2022.0.0.0-RC2
+ 4.8.73.ALL
@@ -61,6 +67,26 @@
lombok
${lombok.version}
+
+ org.springframework.cloud
+ spring-cloud-dependencies
+ ${cloud.version}
+ pom
+ import
+
+
+ com.alibaba.cloud
+ spring-cloud-alibaba-dependencies
+ ${alibaba.version}
+ pom
+ import
+
+
+
+ com.alipay.sdk
+ alipay-sdk-java
+ ${alipay.version}
+
\ No newline at end of file
diff --git a/spzx-server-gateway/pom.xml b/spzx-server-gateway/pom.xml
new file mode 100644
index 0000000..becdff7
--- /dev/null
+++ b/spzx-server-gateway/pom.xml
@@ -0,0 +1,29 @@
+
+ 4.0.0
+
+ cn.bunny
+ spzx-parent
+ 1.0-SNAPSHOT
+
+
+ org.example
+ spzx-server-gateway
+ jar
+
+ spzx-server-gateway
+ http://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
diff --git a/spzx-server-gateway/src/main/java/cn/bunny/web/App.java b/spzx-server-gateway/src/main/java/cn/bunny/web/App.java
new file mode 100644
index 0000000..dc5b5b5
--- /dev/null
+++ b/spzx-server-gateway/src/main/java/cn/bunny/web/App.java
@@ -0,0 +1,13 @@
+package cn.bunny.web;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
diff --git a/spzx-server-gateway/src/test/java/cn/bunny/web/AppTest.java b/spzx-server-gateway/src/test/java/cn/bunny/web/AppTest.java
new file mode 100644
index 0000000..6b7e99e
--- /dev/null
+++ b/spzx-server-gateway/src/test/java/cn/bunny/web/AppTest.java
@@ -0,0 +1,38 @@
+package cn.bunny.web;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}
diff --git a/spzx-service-client/pom.xml b/spzx-service-client/pom.xml
new file mode 100644
index 0000000..797b406
--- /dev/null
+++ b/spzx-service-client/pom.xml
@@ -0,0 +1,33 @@
+
+ 4.0.0
+
+ cn.bunny
+ spzx-parent
+ 1.0-SNAPSHOT
+
+
+ cn.bunny.web
+ spzx-service-client
+ pom
+
+ spzx-service-client
+ http://maven.apache.org
+
+ service-product-client
+ service-user-client
+
+
+
+ UTF-8
+
+
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
diff --git a/spzx-service-client/service-product-client/pom.xml b/spzx-service-client/service-product-client/pom.xml
new file mode 100644
index 0000000..952421a
--- /dev/null
+++ b/spzx-service-client/service-product-client/pom.xml
@@ -0,0 +1,28 @@
+
+ 4.0.0
+
+ cn.bunny.web
+ spzx-service-client
+ 1.0-SNAPSHOT
+
+
+ service-product-client
+ jar
+
+ service-product-client
+ http://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
diff --git a/spzx-service-client/service-product-client/src/main/java/cn/bunny/web/App.java b/spzx-service-client/service-product-client/src/main/java/cn/bunny/web/App.java
new file mode 100644
index 0000000..dc5b5b5
--- /dev/null
+++ b/spzx-service-client/service-product-client/src/main/java/cn/bunny/web/App.java
@@ -0,0 +1,13 @@
+package cn.bunny.web;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
diff --git a/spzx-service-client/service-product-client/src/test/java/cn/bunny/web/AppTest.java b/spzx-service-client/service-product-client/src/test/java/cn/bunny/web/AppTest.java
new file mode 100644
index 0000000..6b7e99e
--- /dev/null
+++ b/spzx-service-client/service-product-client/src/test/java/cn/bunny/web/AppTest.java
@@ -0,0 +1,38 @@
+package cn.bunny.web;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}
diff --git a/spzx-service-client/service-user-client/pom.xml b/spzx-service-client/service-user-client/pom.xml
new file mode 100644
index 0000000..2ec84d2
--- /dev/null
+++ b/spzx-service-client/service-user-client/pom.xml
@@ -0,0 +1,28 @@
+
+ 4.0.0
+
+ cn.bunny.web
+ spzx-service-client
+ 1.0-SNAPSHOT
+
+
+ service-user-client
+ jar
+
+ service-user-client
+ http://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
diff --git a/spzx-service-client/service-user-client/src/main/java/cn/bunny/web/App.java b/spzx-service-client/service-user-client/src/main/java/cn/bunny/web/App.java
new file mode 100644
index 0000000..dc5b5b5
--- /dev/null
+++ b/spzx-service-client/service-user-client/src/main/java/cn/bunny/web/App.java
@@ -0,0 +1,13 @@
+package cn.bunny.web;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
diff --git a/spzx-service-client/service-user-client/src/test/java/cn/bunny/web/AppTest.java b/spzx-service-client/service-user-client/src/test/java/cn/bunny/web/AppTest.java
new file mode 100644
index 0000000..6b7e99e
--- /dev/null
+++ b/spzx-service-client/service-user-client/src/test/java/cn/bunny/web/AppTest.java
@@ -0,0 +1,38 @@
+package cn.bunny.web;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}
diff --git a/spzx-service/pom.xml b/spzx-service/pom.xml
new file mode 100644
index 0000000..2ece3cc
--- /dev/null
+++ b/spzx-service/pom.xml
@@ -0,0 +1,83 @@
+
+ 4.0.0
+
+ cn.bunny
+ spzx-parent
+ 1.0-SNAPSHOT
+
+
+ cn.bunny
+ spzx-service
+ pom
+
+ spzx-service
+ http://maven.apache.org
+
+ service-product
+ service-user
+ service-order
+ service-order
+ service-product
+ service-user
+
+
+
+ UTF-8
+
+
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ cn.bunny
+ common-service
+ 1.0-SNAPSHOT
+
+
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+
+
+
+
+ mysql
+ mysql-connector-java
+
+
+
+ org.springframework.boot
+ spring-boot-configuration-processor
+ true
+
+
+
+ com.github.pagehelper
+ pagehelper-spring-boot-starter
+ 1.4.3
+
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-discovery
+
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-sentinel
+
+
+
diff --git a/spzx-service/service-order/pom.xml b/spzx-service/service-order/pom.xml
new file mode 100644
index 0000000..be72f41
--- /dev/null
+++ b/spzx-service/service-order/pom.xml
@@ -0,0 +1,29 @@
+
+ 4.0.0
+
+ org.example
+ spzx-service
+ 1.0-SNAPSHOT
+
+
+ cn.bunny.web
+ service-order
+ jar
+
+ service-order
+ http://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
diff --git a/spzx-service/service-order/src/main/java/cn/bunny/web/App.java b/spzx-service/service-order/src/main/java/cn/bunny/web/App.java
new file mode 100644
index 0000000..dc5b5b5
--- /dev/null
+++ b/spzx-service/service-order/src/main/java/cn/bunny/web/App.java
@@ -0,0 +1,13 @@
+package cn.bunny.web;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
diff --git a/spzx-service/service-order/src/test/java/cn/bunny/web/AppTest.java b/spzx-service/service-order/src/test/java/cn/bunny/web/AppTest.java
new file mode 100644
index 0000000..6b7e99e
--- /dev/null
+++ b/spzx-service/service-order/src/test/java/cn/bunny/web/AppTest.java
@@ -0,0 +1,38 @@
+package cn.bunny.web;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}
diff --git a/spzx-service/service-product/pom.xml b/spzx-service/service-product/pom.xml
new file mode 100644
index 0000000..51ae41e
--- /dev/null
+++ b/spzx-service/service-product/pom.xml
@@ -0,0 +1,29 @@
+
+ 4.0.0
+
+ org.example
+ spzx-service
+ 1.0-SNAPSHOT
+
+
+ cn.bunny.web
+ service-product
+ jar
+
+ service-product
+ http://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
diff --git a/spzx-service/service-product/src/main/java/cn/bunny/web/product/mapper/ProductSkuMapper.java b/spzx-service/service-product/src/main/java/cn/bunny/web/product/mapper/ProductSkuMapper.java
new file mode 100644
index 0000000..b95b68f
--- /dev/null
+++ b/spzx-service/service-product/src/main/java/cn/bunny/web/product/mapper/ProductSkuMapper.java
@@ -0,0 +1,12 @@
+package cn.bunny.web.product.mapper;
+
+import cn.bunny.common.spzx.model.entity.product.ProductSku;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface ProductSkuMapper {
+
+ List selectProductSkuBySale();
+}
diff --git a/spzx-service/service-product/src/main/resources/application-dev.yml b/spzx-service/service-product/src/main/resources/application-dev.yml
new file mode 100644
index 0000000..5d56c90
--- /dev/null
+++ b/spzx-service/service-product/src/main/resources/application-dev.yml
@@ -0,0 +1,20 @@
+server:
+ port: 8511
+
+spring:
+ application:
+ name: service-product
+ cloud:
+ nacos:
+ discovery:
+ server-addr: localhost:8848
+ datasource:
+ type: com.zaxxer.hikari.HikariDataSource
+ driver-class-name: com.mysql.cj.jdbc.Driver
+ url: jdbc:mysql://60.204.230.80:3306/db_spzx?characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true
+ username: root
+ password: root
+
+mybatis:
+ config-location: classpath:mybatis-config.xml
+ mapper-locations: classpath:/mapper/*/*.xml
\ No newline at end of file
diff --git a/spzx-service/service-product/src/main/resources/application.yml b/spzx-service/service-product/src/main/resources/application.yml
new file mode 100644
index 0000000..caf4dfc
--- /dev/null
+++ b/spzx-service/service-product/src/main/resources/application.yml
@@ -0,0 +1,3 @@
+spring:
+ profiles:
+ active: dev
\ No newline at end of file
diff --git a/spzx-service/service-product/src/main/resources/logback-spring.xml b/spzx-service/service-product/src/main/resources/logback-spring.xml
new file mode 100644
index 0000000..09148d5
--- /dev/null
+++ b/spzx-service/service-product/src/main/resources/logback-spring.xml
@@ -0,0 +1,56 @@
+
+
+
+ logback
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INFO
+
+
+ ${CONSOLE_LOG_PATTERN}
+ ${ENCODING}
+
+
+
+
+
+ ${log.path}//log.log
+ true
+
+ %date{yyyy-MM-dd HH:mm:ss} %msg%n
+ ${ENCODING}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spzx-service/service-product/src/main/resources/mapper/product/CategoryMapper.xml b/spzx-service/service-product/src/main/resources/mapper/product/CategoryMapper.xml
new file mode 100644
index 0000000..f6e99c5
--- /dev/null
+++ b/spzx-service/service-product/src/main/resources/mapper/product/CategoryMapper.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+ id,name,image_url,parent_id,status,order_num,create_time,update_time,is_deleted
+
+
+
+
+
diff --git a/spzx-service/service-product/src/main/resources/mapper/product/ProductSkuMapper.xml b/spzx-service/service-product/src/main/resources/mapper/product/ProductSkuMapper.xml
new file mode 100644
index 0000000..5099746
--- /dev/null
+++ b/spzx-service/service-product/src/main/resources/mapper/product/ProductSkuMapper.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+ id,sku_code,sku_name,product_id,thumb_img,sale_price,market_price,cost_price,stock_num,sale_num,sku_spec,weight,volume,status,create_time,update_time,is_deleted
+
+
+
+
+
diff --git a/spzx-service/service-product/src/main/resources/mybatis-config.xml b/spzx-service/service-product/src/main/resources/mybatis-config.xml
new file mode 100644
index 0000000..89898c2
--- /dev/null
+++ b/spzx-service/service-product/src/main/resources/mybatis-config.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/spzx-service/service-product/src/test/java/cn/bunny/web/AppTest.java b/spzx-service/service-product/src/test/java/cn/bunny/web/AppTest.java
new file mode 100644
index 0000000..6b7e99e
--- /dev/null
+++ b/spzx-service/service-product/src/test/java/cn/bunny/web/AppTest.java
@@ -0,0 +1,38 @@
+package cn.bunny.web;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}
diff --git a/spzx-service/service-user/pom.xml b/spzx-service/service-user/pom.xml
new file mode 100644
index 0000000..50ceefe
--- /dev/null
+++ b/spzx-service/service-user/pom.xml
@@ -0,0 +1,29 @@
+
+ 4.0.0
+
+ org.example
+ spzx-service
+ 1.0-SNAPSHOT
+
+
+ cn.bunny.web
+ service-user
+ jar
+
+ service-user
+ http://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
diff --git a/spzx-service/service-user/src/main/java/cn/bunny/web/App.java b/spzx-service/service-user/src/main/java/cn/bunny/web/App.java
new file mode 100644
index 0000000..dc5b5b5
--- /dev/null
+++ b/spzx-service/service-user/src/main/java/cn/bunny/web/App.java
@@ -0,0 +1,13 @@
+package cn.bunny.web;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
diff --git a/spzx-service/service-user/src/test/java/cn/bunny/web/AppTest.java b/spzx-service/service-user/src/test/java/cn/bunny/web/AppTest.java
new file mode 100644
index 0000000..6b7e99e
--- /dev/null
+++ b/spzx-service/service-user/src/test/java/cn/bunny/web/AppTest.java
@@ -0,0 +1,38 @@
+package cn.bunny.web;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}