添加微信支付支持,重构资源创建逻辑,更新支付宝相关配置,移除账单状态字段
This commit is contained in:
@@ -789,7 +789,6 @@ create table bill (
|
||||
bill_no varchar(255) not null unique,
|
||||
info varchar(255),
|
||||
type int not null,
|
||||
status int not null,
|
||||
amount decimal(12, 2) not null default 0,
|
||||
created_at timestamp default current_timestamp,
|
||||
updated_at timestamp default current_timestamp,
|
||||
@@ -801,7 +800,6 @@ create index bill_resource_id_index on bill (resource_id);
|
||||
create index bill_refund_id_index on bill (refund_id);
|
||||
create index bill_bill_no_index on bill (bill_no);
|
||||
create index bill_type_index on bill (type);
|
||||
create index bill_status_index on bill (status);
|
||||
create index bill_deleted_at_index on bill (deleted_at);
|
||||
|
||||
-- bill表字段注释
|
||||
@@ -814,7 +812,6 @@ comment on column bill.refund_id is '退款ID';
|
||||
comment on column bill.bill_no is '易读账单号';
|
||||
comment on column bill.info is '产品可读信息';
|
||||
comment on column bill.type is '账单类型:0-充值,1-消费,2-退款';
|
||||
comment on column bill.status is '账单状态:0-未完成,1-已完成,2-已作废';
|
||||
comment on column bill.amount is '账单金额';
|
||||
comment on column bill.created_at is '创建时间';
|
||||
comment on column bill.updated_at is '更新时间';
|
||||
|
||||
Reference in New Issue
Block a user