add-liche-dealer-apply

This commit is contained in:
lccsw
2021-08-20 17:53:38 +08:00
parent 4bd9a996be
commit 90109969d9
9 changed files with 248 additions and 20 deletions
+20 -4
View File
@@ -7,9 +7,7 @@
drop table if exists lc_app;
create table lc_app (
id int(11) not null auto_increment,
name char(30) not null default '' comment '名称',
logo varchar(128) not null default '' comment 'logo',
jsondata text comment '更多数据',
name char(30) not null default '' comment '名称', logo varchar(128) not null default '' comment 'logo', jsondata text comment '更多数据',
c_time int(10) not null default '0' comment '创建时间',
u_time timestamp not null default current_timestamp on update current_timestamp comment '更新时间',
primary key (id)
@@ -118,4 +116,22 @@ create table lc_app_deal_log (
c_time int(11) not null default '0' comment '创建时间',
u_time timestamp not null default current_timestamp on update current_timestamp comment '更新时间',
primary key (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='分销-记录表'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='分销-记录表';
-- ----------------------------
-- Title:分销-申请表
-- Author:lcc
-- Table:lc_app_deal_apply
-- ---------------------------
drop table if exists lc_app_deal_apply;
create table lc_app_deal_apply (
id int(10) unsigned not null auto_increment comment '自增id',
app_id int(10) unsigned not null default '0' comment '小程序id',
app_uid int(10) unsigned not null default '0' comment '用户id',
opt_uid int(10) unsigned not null default '0' comment '审核用户uid',
remark varchar(255) not null default '' comment '备注',
status tinyint(1) not null default '0' comment '状态(-1审核未通过 0待审核 1审核通过)',
c_time int(10) unsigned not null default '0' comment '创建时间',
u_time timestamp not null default current_timestamp on update current_timestamp comment '更新时间',
primary key (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='分销-申请表';