feat 支付订单/退款订单/支付通道配置列表

This commit is contained in:
nws
2024-01-13 00:32:29 +08:00
parent 7734bf95b9
commit 5be679845b
12 changed files with 83 additions and 38 deletions

View File

@@ -13,7 +13,7 @@ import lombok.Getter;
public enum PayRefundStatusEnum {
SUCCESS("success","成功"),
FAIL("fail","失败");
FAIL("fail"," ");
/** 编码 */
private final String code;

View File

@@ -49,7 +49,7 @@ public abstract class PayCommonParam {
/** API版本号 */
@Schema(description = "API版本号")
@NotBlank(message = "API版本号必填")
private String version;
private String version = "1.0.0";
/** 请求时间,时间戳转时间 */
@Schema(description = "请求时间,传输时间戳")

View File

@@ -24,7 +24,7 @@ public class RefundParam extends PayCommonParam {
private String businessNo;
/**
* 部分退款需要传输refundModes参数
* 部分退款需要传输支付通道参数参数
*/
@Schema(description = "是否全部退款")
private boolean refundAll;

View File

@@ -33,10 +33,10 @@ public class PaySyncResult extends PayCommonResult{
private boolean repair;
@Schema(description = "支付单修复前状态")
private String oldStatus;
private String beforeStatus;
@Schema(description = "支付单修复后状态")
private String repairStatus;
private String afterStatus;
@Schema(description = "失败原因")
private String errorMsg;