edit-admin-srv_money
This commit is contained in:
@@ -66,3 +66,31 @@ create table lc_app_liche_udata (
|
||||
primary key (id)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='狸车用户数据表';
|
||||
alter table lc_app_liche_udata add app_uid int(10) unsigned not null default 0 comment '用户id' after cf_id;
|
||||
|
||||
-- ----------------------------
|
||||
-- Title:用户购车订单
|
||||
-- Author:lcc
|
||||
-- Table:lc_app_liche_orders
|
||||
-- ---------------------------
|
||||
create table lc_app_liche_orders (
|
||||
id int(10) unsigned not null auto_increment comment '自增id',
|
||||
o_id int(10) unsigned not null default '0' comment '订单表id',
|
||||
uid int(10) unsigned not null default '0' comment '用户id',
|
||||
sid varchar(32) not null default '' comment '订单号',
|
||||
mch_id varchar(30) not null default '' comment '支付商户号',
|
||||
pid int(10) unsigned not null default '0' comment '父订单id',
|
||||
brand_id int(10) not null default '0' comment '品牌id',
|
||||
s_id int(10) unsigned not null default '0' comment '车系id',
|
||||
v_id int(10) unsigned not null default '0' comment '车型号',
|
||||
cor_id int(10) not null default '0' comment '车身颜色id',
|
||||
incor_id int(10) unsigned not null default '0' comment '内饰颜色id',
|
||||
total_price decimal(12,2) not null default '0.00' comment '订单价格',
|
||||
pay_price decimal(12,2) not null default '0.00' comment '实付金额',
|
||||
type tinyint(2) unsigned not null default '0' comment '订单类型 1定金 2服务费 3尾款 4意向金 5后台添加',
|
||||
status tinyint(1) not null default '0' comment '支付状态 0未支付 1已支付',
|
||||
pay_time timestamp not null default '0000-00-00 00:00:00' comment '付款时间',
|
||||
c_time int(10) unsigned not null default '0' comment '创建时间',
|
||||
u_time timestamp null default current_timestamp on update current_timestamp,
|
||||
primary key (id)
|
||||
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='用户购车订单';
|
||||
|
||||
Reference in New Issue
Block a user