feat:退款
fix:修复bug
This commit is contained in:
1 parent
bb1def88d9
commit
075a9cc876
26 files changed
+467
-97
No files matched your search
+7
-7
@@ -1,5 +1,7 @@
|
||||
package com.bsd.pjcloud.thirdparty.dto.oathmini.pay.wechat;
|
||||
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@@ -14,14 +16,12 @@ import lombok.NoArgsConstructor;
|
||||
@NoArgsConstructor
|
||||
public class ThirdMiniWechatRefundDto {
|
||||
|
||||
private Long orderId;
|
||||
|
||||
private String wechantOrderId;
|
||||
|
||||
private Long refundId;
|
||||
|
||||
private Integer orderPrice;
|
||||
@NotEmpty
|
||||
private String payNo;
|
||||
|
||||
/**
|
||||
* 为null就全额退款
|
||||
*/
|
||||
private Integer refundPrice;
|
||||
|
||||
}
|
||||
+12
@@ -87,6 +87,12 @@ public class ThirdPayOrderEntity extends Model<ThirdPayOrderEntity> {
|
||||
@Schema(description = "支付参数")
|
||||
private String payRep;
|
||||
|
||||
/**
|
||||
* 支付回调返回
|
||||
*/
|
||||
@Schema(description = "支付回调返回")
|
||||
private String payCallbackRes;
|
||||
|
||||
/**
|
||||
* 支付返回
|
||||
*/
|
||||
@@ -99,6 +105,12 @@ public class ThirdPayOrderEntity extends Model<ThirdPayOrderEntity> {
|
||||
@Schema(description = "退款订单号")
|
||||
private String refundNo;
|
||||
|
||||
/**
|
||||
* 退款回调返回
|
||||
*/
|
||||
@Schema(description = "退款回调返回")
|
||||
private String refundCallbackRes;
|
||||
|
||||
/**
|
||||
* 退款时间
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user