feat 支付退款改为二阶段提交, 支付宝支付查询

This commit is contained in:
xxm1995
2024-01-30 16:50:46 +08:00
parent 2049905ab9
commit d2680b3dfd
40 changed files with 344 additions and 233 deletions

View File

@@ -20,9 +20,8 @@ public enum PayRefundStatusEnum {
* 接口调用成功不代表成功
*/
PROGRESS("progress","退款中"),
/** 部分成功 */
PART_SUCCESS("part_success","部分成功"),
SUCCESS("success","成功"),
CLOSE("close","关闭"),
FAIL("fail","失败");
/** 编码 */

View File

@@ -33,7 +33,7 @@ public class PaySyncResult extends CommonResult {
@Schema(description = "是否进行了修复")
private boolean repair;
@Schema(description = "支付单修复ID")
@Schema(description = "修复ID")
private Long repairId;
@Schema(description = "失败原因")

View File

@@ -13,4 +13,15 @@ import lombok.experimental.Accessors;
@Accessors(chain = true)
@Schema(title = "退款同步结果")
public class RefundSyncResult {
@Schema(description = "是否进行了修复")
private boolean repair;
@Schema(description = "支付单修复ID")
private Long repairId;
@Schema(description = "失败原因")
private String errorMsg;
}