修复商福通客户端加解密逻辑,交易表新增收单机构字段用来保存实际支付方式,取消交易接口实现

This commit is contained in:
2025-06-05 12:59:07 +08:00
parent 392e404d68
commit 692106ae5c
9 changed files with 452 additions and 170 deletions

View File

@@ -805,6 +805,7 @@ create table trade (
amount decimal(12, 2) not null default 0,
payment decimal(12, 2) not null default 0,
method int not null,
acquirer int not null,
status int not null default 0,
pay_url text,
paid_at timestamp,
@@ -830,7 +831,8 @@ comment on column trade.subject is '订单主题';
comment on column trade.remark is '订单备注';
comment on column trade.amount is '订单总金额';
comment on column trade.payment is '支付金额';
comment on column trade.method is '支付方式1-支付宝2-微信';
comment on column trade.method is '支付方式1-支付宝2-微信3-商福通渠道支付宝4-商福通渠道微信';
comment on column trade.acquirer is '收单机构1-支付宝2-微信3-银联';
comment on column trade.status is '订单状态0-待支付1-已支付2-已取消3-已退款';
comment on column trade.pay_url is '支付链接';
comment on column trade.paid_at is '支付时间';