mall + pay:

1. 优化 PayClient 退款逻辑,返回业务失败 errorCode + errorMsg 错误码
This commit is contained in:
YunaiV
2023-07-18 22:36:03 +08:00
parent 3f410c2735
commit 888c488206
4 changed files with 54 additions and 9 deletions

View File

@ -25,4 +25,8 @@ public enum PayRefundStatusRespEnum {
return Objects.equals(status, SUCCESS.getStatus());
}
public static boolean isFailure(Integer status) {
return Objects.equals(status, FAILURE.getStatus());
}
}