feat:第三方支付查询订单详情
This commit is contained in:
1 parent
e12828656f
commit
2727c3627c
19 files changed
+220
-50
No files matched your search
+1
@@ -16,6 +16,7 @@ public enum ThirdPayApiBizTypeEnum {
|
||||
REFUND("20", "退款"),
|
||||
WALLET_INFO("30", "钱包详情"),
|
||||
WATER("40", "流水"),
|
||||
DETAIL("50", "订单详情"),
|
||||
;
|
||||
|
||||
private final String type;
|
||||
|
||||
+2
@@ -19,9 +19,11 @@ public enum ThirdPayVoStatusEnum {
|
||||
USER_EXIST(501, "用户不存在"),
|
||||
ORDER_EXIST(502, "订单不存在"),
|
||||
MCH_EXIST(503, "第三方商户未配置"),
|
||||
ORDER_REFUND_EXIST(504, "订单未退款"),
|
||||
BALANCE_NOT_ENOUGH(505, "用户余额不足"),
|
||||
ORDER_HAVE_PAY(506, "订单已支付"),
|
||||
ORDER_HAVE_REFUND(507, "订单已退款"),
|
||||
DETAIL_ITEM_NOT_ONE(508, "查询详情条目不为一"),
|
||||
UNKNOWN_ERROR(599, "未知错误,请联系管理员"),
|
||||
;
|
||||
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
package com.bsd.pjcloud.thirdparty.dto.pay;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class PayDetailDto {
|
||||
|
||||
/**
|
||||
* 第三方订单id(thirdOrderId、thirdRefundId二选一)
|
||||
*/
|
||||
private String thirdOrderId;
|
||||
|
||||
/**
|
||||
* 第三方退款(thirdOrderId、thirdRefundId二选一,有退款操作才能查询到数据,否则返回null)
|
||||
*/
|
||||
private String thirdRefundId;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user