liche update for admin auto and goods edit

This commit is contained in:
xxb
2021-08-20 20:25:48 +08:00
committed by xiaoyu
parent a5fc02b073
commit 5a759d2919
18 changed files with 944 additions and 30 deletions
+1
View File
@@ -35,4 +35,5 @@ create table lc_items (
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='商品表';
alter table lc_items drop column frame_num;
alter table lc_items modify if_pack varchar(256) not null default '' comment '精品加装';
alter table lc_items add column addr_id int unsigned not null default 0 comment '存放地址ID' after address;
+21
View File
@@ -228,3 +228,24 @@ create table lc_sys_finance (
primary key (id)
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 COLLATE=UTF8MB4_0900_AI_CI COMMENT='金融产品';
-- ----------------------------
-- Title:地址管理
-- Author:xusir
-- Table:lc_sys_addr
-- ---------------------------
drop table if exists lc_sys_addr;
create table lc_sys_addr (
id int(10) unsigned not null auto_increment comment '自增id',
title varchar(128) not null comment '公司名称',
province_id int(10) unsigned not null comment '省id',
province_name varchar(32) not null comment '省名称',
city_id int(10) unsigned not null comment '城市id',
city_name varchar(32) not null comment '城市名称',
county_id int(10) unsigned not null comment '区id',
county_name varchar(32) not null comment '区名称',
status tinyint(1) not null default '1' comment '状态:-1删除,0关闭,1开启',
primary key (id)
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 COLLATE=UTF8MB4_0900_AI_CI COMMENT='地址管理';