mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-05-04 20:57:47 +08:00
格式化部分代码
This commit is contained in:
parent
d9e8fe6d14
commit
87ab934a1c
@ -28,7 +28,6 @@ import me.chanjar.weixin.mp.api.WxMpService;
|
||||
import me.chanjar.weixin.mp.bean.pay.WxMpPayCallback;
|
||||
import me.chanjar.weixin.mp.bean.pay.WxMpPayRefundResult;
|
||||
import me.chanjar.weixin.mp.bean.pay.WxMpPayResult;
|
||||
import me.chanjar.weixin.mp.bean.pay.WxMpPrepayIdResult;
|
||||
import me.chanjar.weixin.mp.bean.pay.WxRedpackResult;
|
||||
import me.chanjar.weixin.mp.bean.pay.WxSendRedpackRequest;
|
||||
import me.chanjar.weixin.mp.bean.pay.WxUnifiedOrderRequest;
|
||||
@ -287,7 +286,7 @@ public class WxMpPayServiceImpl implements WxMpPayService {
|
||||
|
||||
if (!TRADE_TYPES.contains(request.getTradeType())) {
|
||||
throw new IllegalArgumentException(
|
||||
"trade_type目前必须为" + TRADE_TYPES + "其中之一");
|
||||
"trade_type目前必须为" + TRADE_TYPES + "其中之一");
|
||||
|
||||
}
|
||||
|
||||
|
@ -1,21 +1,23 @@
|
||||
package me.chanjar.weixin.mp.bean;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import com.thoughtworks.xstream.annotations.XStreamConverter;
|
||||
import me.chanjar.weixin.common.util.xml.XStreamCDataConverter;
|
||||
import me.chanjar.weixin.mp.api.WxMpConfigStorage;
|
||||
import me.chanjar.weixin.mp.util.crypto.WxMpCryptUtil;
|
||||
import me.chanjar.weixin.mp.util.xml.XStreamTransformer;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import com.thoughtworks.xstream.annotations.XStreamConverter;
|
||||
|
||||
import me.chanjar.weixin.common.util.xml.XStreamCDataConverter;
|
||||
import me.chanjar.weixin.mp.api.WxMpConfigStorage;
|
||||
import me.chanjar.weixin.mp.util.crypto.WxMpCryptUtil;
|
||||
import me.chanjar.weixin.mp.util.xml.XStreamTransformer;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* 微信推送过来的消息,也是同步回复给用户的消息,xml格式
|
||||
@ -239,7 +241,7 @@ public class WxMpXmlMessage implements Serializable {
|
||||
private String msg;
|
||||
|
||||
public String getStoreUniqId() {
|
||||
return storeUniqId;
|
||||
return this.storeUniqId;
|
||||
}
|
||||
|
||||
public void setStoreUniqId(String storeUniqId) {
|
||||
@ -247,7 +249,7 @@ public class WxMpXmlMessage implements Serializable {
|
||||
}
|
||||
|
||||
public String getPoiId() {
|
||||
return poiId;
|
||||
return this.poiId;
|
||||
}
|
||||
|
||||
public void setPoiId(String poiId) {
|
||||
@ -255,7 +257,7 @@ public class WxMpXmlMessage implements Serializable {
|
||||
}
|
||||
|
||||
public String getResult() {
|
||||
return result;
|
||||
return this.result;
|
||||
}
|
||||
|
||||
public void setResult(String result) {
|
||||
@ -263,7 +265,7 @@ public class WxMpXmlMessage implements Serializable {
|
||||
}
|
||||
|
||||
public String getMsg() {
|
||||
return msg;
|
||||
return this.msg;
|
||||
}
|
||||
|
||||
public void setMsg(String msg) {
|
||||
|
@ -1,11 +1,13 @@
|
||||
package me.chanjar.weixin.mp.bean.tag;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
import java.util.List;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;
|
||||
|
||||
/**
|
||||
* 获取标签下粉丝列表的结果对象
|
||||
@ -46,7 +48,7 @@ public class WxTagListUser {
|
||||
private String nextOpenid;
|
||||
|
||||
public Integer getCount() {
|
||||
return count;
|
||||
return this.count;
|
||||
}
|
||||
|
||||
public void setCount(Integer count) {
|
||||
@ -54,7 +56,7 @@ public class WxTagListUser {
|
||||
}
|
||||
|
||||
public WxTagListUserData getData() {
|
||||
return data;
|
||||
return this.data;
|
||||
}
|
||||
|
||||
public void setData(WxTagListUserData data) {
|
||||
@ -62,7 +64,7 @@ public class WxTagListUser {
|
||||
}
|
||||
|
||||
public String getNextOpenid() {
|
||||
return nextOpenid;
|
||||
return this.nextOpenid;
|
||||
}
|
||||
|
||||
public void setNextOpenid(String nextOpenid) {
|
||||
@ -82,7 +84,7 @@ public class WxTagListUser {
|
||||
private List<String> openidList;
|
||||
|
||||
public List<String> getOpenidList() {
|
||||
return openidList;
|
||||
return this.openidList;
|
||||
}
|
||||
|
||||
public void setOpenidList(List<String> openidList) {
|
||||
|
Loading…
Reference in New Issue
Block a user