feat:微信付款码支付
This commit is contained in:
1 parent
84c10d7f4f
commit
c477dbf361
7 files changed
+127
-43
No files matched your search
+4
-4
@@ -14,14 +14,14 @@ import lombok.NoArgsConstructor;
|
||||
@NoArgsConstructor
|
||||
public class WechatRefundDto {
|
||||
|
||||
private String orderId;
|
||||
private Long orderId;
|
||||
|
||||
private String wechantOrderId;
|
||||
|
||||
private String refundId;
|
||||
private Long refundId;
|
||||
|
||||
private Long orderPrice;
|
||||
private Integer orderPrice;
|
||||
|
||||
private Long refundPrice;
|
||||
private Integer refundPrice;
|
||||
|
||||
}
|
||||
+3
-3
@@ -63,14 +63,14 @@ public class WechantRefunCallbackVo {
|
||||
public static String wechantError() {
|
||||
return "<xml>" +
|
||||
"<return_code><![CDATA[FAIL]]></return_code>" +
|
||||
"<return_msg><![CDATA[退款错误]]></return_msg>" +
|
||||
"<return_msg><![CDATA[FAIL]]></return_msg>" +
|
||||
"</xml>";
|
||||
}
|
||||
|
||||
public static String wechantSuccess() {
|
||||
return "<xml>" +
|
||||
"<return_code><![CDATA[SUCCESS]]></return_code>" +
|
||||
"<return_msg><![CDATA[退款成功]]></return_msg>" +
|
||||
" <return_code><![CDATA[SUCCESS]]></return_code>" +
|
||||
" <return_msg><![CDATA[OK]]></return_msg>\n" +
|
||||
"</xml>";
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user