11
This commit is contained in:
1 parent
4f50cc2952
commit
5d0e19ae1e
9 files changed
+102
-14
No files matched your search
+7
@@ -28,4 +28,11 @@ public interface RemoterThirdAppPlusPayService {
|
||||
@PostMapping("/pay-remoter/micropay")
|
||||
R<String> remoterMicropay(@RequestBody ThirdMicropayDto dto);
|
||||
|
||||
/**
|
||||
* 支付退款
|
||||
*/
|
||||
@NoToken
|
||||
@PostMapping("/pay-remoter/refund")
|
||||
R<String> remoterRefund(@RequestBody ThirdMicropayDto dto);
|
||||
|
||||
}
|
||||
+1
-1
@@ -13,7 +13,7 @@ import java.util.Arrays;
|
||||
@Getter
|
||||
public enum ThirdPayOrderBizTypeEnum {
|
||||
|
||||
MINI_APP_RECHARGE("10", "小程序用户钱包充值"),
|
||||
MINI_APP_WALLET_RECHARGE("10", "小程序用户钱包充值"),
|
||||
YXFJ_PAY("20", "云消费机付款码支付"),
|
||||
;
|
||||
|
||||
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
package com.bsd.pjcloud.thirdparty.dto.appplus;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class ThirdRemoterRefundDto {
|
||||
|
||||
/**
|
||||
* 订单id
|
||||
*/
|
||||
@NotNull(message = "订单id不能为空")
|
||||
private Long orderId;
|
||||
|
||||
/**
|
||||
* 退款金额
|
||||
*/
|
||||
@NotNull(message = "退款金额不能为空")
|
||||
private Integer price;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user