feat(payment): 支付调试参数新增通道商户号字段

This commit is contained in:
DaxPay Dev
2026-06-24 09:39:46 +08:00
parent e1ad82aa43
commit a53c6c227e
3 changed files with 11 additions and 0 deletions

View File

@@ -24,4 +24,9 @@ public abstract class MerchantPaymentCommonParam extends PaymentCommonParam{
@Size(max = 32, message = "{validation.field.appId.size}")
private String appId;
/// 通道商户号(可选, 调试或指定通道商户时传入)
@Schema(description = "通道商户号")
@Size(max = 32, message = "{validation.field.channelMchNo.size}")
private String channelMchNo;
}

View File

@@ -74,6 +74,9 @@
"size": "Merchant app ID cannot exceed 32 characters",
"notNull": "Application ID cannot be null"
},
"channelMchNo": {
"size": "Channel merchant no. cannot exceed 32 characters"
},
"subMchId": {
"notBlank": "WeChat sub-merchant ID cannot be blank"
},

View File

@@ -74,6 +74,9 @@
"size": "应用号不可超过32位",
"notNull": "应用ID不可为空"
},
"channelMchNo": {
"size": "通道商户号不可超过32位"
},
"subMchId": {
"notBlank": "微信子商户号不可为空"
},