Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

订单结果bean实现序列化,使Dubbo RPC等能正常返回结果。 #1067

Merged
merged 1 commit into from
Jun 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
* <pre>
* APP支付调用统一下单接口后的组装所需参数的实现类
Expand All @@ -14,7 +16,7 @@
*/
@Data
@Builder
public class WxPayAppOrderResult {
public class WxPayAppOrderResult implements Serializable {
private String sign;
private String prepayId;
private String partnerId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
* <pre>
* 微信公众号支付进行统一下单后组装所需参数的类
Expand All @@ -15,7 +17,7 @@
*/
@Data
@Builder
public class WxPayMpOrderResult {
public class WxPayMpOrderResult implements Serializable {
private String appId;
private String timeStamp;
private String nonceStr;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
* <pre>
* 微信H5支付统一下单后发起支付拼接所需参数实现类.
Expand All @@ -15,7 +16,7 @@
*/
@Data
@AllArgsConstructor
public class WxPayMwebOrderResult {
public class WxPayMwebOrderResult implements Serializable {
@XStreamAlias("mwebUrl")
private String mwebUrl;
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package com.github.binarywang.wxpay.bean.order;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
* <pre>
* 微信扫码支付统一下单后发起支付拼接所需参数实现类
Expand All @@ -14,6 +15,6 @@
*/
@Data
@AllArgsConstructor
public class WxPayNativeOrderResult {
public class WxPayNativeOrderResult implements Serializable {
private String codeUrl;
}