mirror of
https://gitee.com/dromara/dax-pay
synced 2026-08-08 14:15:34 +08:00
chore: 普通支付单注释精简,开发环境默认开启沙箱
NormalPayOrder 的 @see 改为短链;dev 配置 sandbox-enabled 默认 true 便于本地联调。
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package cn.daxpay.open.payment.trade.order.entity;
|
||||
|
||||
import cn.daxpay.open.payment.common.entity.MchBaseEntity;
|
||||
import cn.daxpay.open.platform.core.enums.pay.channel.ChannelEnum;
|
||||
import cn.daxpay.open.platform.core.enums.unipay.PayLimitPayEnum;
|
||||
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
@@ -54,7 +56,7 @@ public class NormalPayOrder extends MchBaseEntity {
|
||||
/// 商户附加参数(回调原样返回)
|
||||
private String attach;
|
||||
|
||||
/// 业务单过期时间(超时关单权威,不落 pay_trade)
|
||||
/// 业务单过期时间
|
||||
private OffsetDateTime expiredTime;
|
||||
|
||||
// ===== 金额(冗余自 PayTrade,方便查询)=====
|
||||
@@ -69,7 +71,7 @@ public class NormalPayOrder extends MchBaseEntity {
|
||||
// ===== 支付信息(冗余,查询过滤用)=====
|
||||
|
||||
/// 支付通道编码(冗余自 product → ProductEnum#getChannel,对应 ChannelEnum;非 PayProviderEnum)
|
||||
/// @see cn.daxpay.open.platform.core.enums.pay.channel.ChannelEnum
|
||||
/// @see ChannelEnum
|
||||
private String channel;
|
||||
|
||||
/// 支付方式
|
||||
@@ -77,7 +79,7 @@ public class NormalPayOrder extends MchBaseEntity {
|
||||
private String method;
|
||||
|
||||
/// 限制支付类型(如限制信用卡)
|
||||
/// @see cn.daxpay.open.platform.core.enums.unipay.PayLimitPayEnum
|
||||
/// @see PayLimitPayEnum
|
||||
private String limitPay;
|
||||
|
||||
/// 支付产品编码
|
||||
|
||||
@@ -165,7 +165,7 @@ daxpay:
|
||||
version: 1
|
||||
# 沙箱环境全局开关: false=生产模式(本机开发默认), true=沙箱模式
|
||||
# 关闭后不可切换到沙箱; 若启动时已有产品处于沙箱, 将自动重置为生产环境
|
||||
sandbox-enabled: false
|
||||
sandbox-enabled: true
|
||||
# 通道适配子应用配置
|
||||
# 按支付通道拆分的独立部署子服务, 主服务通过 HTTP 调用对应子服务完成通道对接。
|
||||
# 拆分目的: 通道 SDK 依赖隔离(避免冲突) + 独立升级 + 弹性伸缩
|
||||
|
||||
Reference in New Issue
Block a user