mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-24 07:23:01 +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.WxMpPayCallback;
|
||||||
import me.chanjar.weixin.mp.bean.pay.WxMpPayRefundResult;
|
import me.chanjar.weixin.mp.bean.pay.WxMpPayRefundResult;
|
||||||
import me.chanjar.weixin.mp.bean.pay.WxMpPayResult;
|
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.WxRedpackResult;
|
||||||
import me.chanjar.weixin.mp.bean.pay.WxSendRedpackRequest;
|
import me.chanjar.weixin.mp.bean.pay.WxSendRedpackRequest;
|
||||||
import me.chanjar.weixin.mp.bean.pay.WxUnifiedOrderRequest;
|
import me.chanjar.weixin.mp.bean.pay.WxUnifiedOrderRequest;
|
||||||
@ -287,7 +286,7 @@ public class WxMpPayServiceImpl implements WxMpPayService {
|
|||||||
|
|
||||||
if (!TRADE_TYPES.contains(request.getTradeType())) {
|
if (!TRADE_TYPES.contains(request.getTradeType())) {
|
||||||
throw new IllegalArgumentException(
|
throw new IllegalArgumentException(
|
||||||
"trade_type目前必须为" + TRADE_TYPES + "其中之一");
|
"trade_type目前必须为" + TRADE_TYPES + "其中之一");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,21 +1,23 @@
|
|||||||
package me.chanjar.weixin.mp.bean;
|
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.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
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>
|
* <pre>
|
||||||
* 微信推送过来的消息,也是同步回复给用户的消息,xml格式
|
* 微信推送过来的消息,也是同步回复给用户的消息,xml格式
|
||||||
@ -239,7 +241,7 @@ public class WxMpXmlMessage implements Serializable {
|
|||||||
private String msg;
|
private String msg;
|
||||||
|
|
||||||
public String getStoreUniqId() {
|
public String getStoreUniqId() {
|
||||||
return storeUniqId;
|
return this.storeUniqId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setStoreUniqId(String storeUniqId) {
|
public void setStoreUniqId(String storeUniqId) {
|
||||||
@ -247,7 +249,7 @@ public class WxMpXmlMessage implements Serializable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String getPoiId() {
|
public String getPoiId() {
|
||||||
return poiId;
|
return this.poiId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setPoiId(String poiId) {
|
public void setPoiId(String poiId) {
|
||||||
@ -255,7 +257,7 @@ public class WxMpXmlMessage implements Serializable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String getResult() {
|
public String getResult() {
|
||||||
return result;
|
return this.result;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setResult(String result) {
|
public void setResult(String result) {
|
||||||
@ -263,7 +265,7 @@ public class WxMpXmlMessage implements Serializable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String getMsg() {
|
public String getMsg() {
|
||||||
return msg;
|
return this.msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setMsg(String msg) {
|
public void setMsg(String msg) {
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
package me.chanjar.weixin.mp.bean.tag;
|
package me.chanjar.weixin.mp.bean.tag;
|
||||||
|
|
||||||
import com.google.gson.annotations.SerializedName;
|
import java.util.List;
|
||||||
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;
|
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
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;
|
private String nextOpenid;
|
||||||
|
|
||||||
public Integer getCount() {
|
public Integer getCount() {
|
||||||
return count;
|
return this.count;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCount(Integer count) {
|
public void setCount(Integer count) {
|
||||||
@ -54,7 +56,7 @@ public class WxTagListUser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public WxTagListUserData getData() {
|
public WxTagListUserData getData() {
|
||||||
return data;
|
return this.data;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setData(WxTagListUserData data) {
|
public void setData(WxTagListUserData data) {
|
||||||
@ -62,7 +64,7 @@ public class WxTagListUser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String getNextOpenid() {
|
public String getNextOpenid() {
|
||||||
return nextOpenid;
|
return this.nextOpenid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setNextOpenid(String nextOpenid) {
|
public void setNextOpenid(String nextOpenid) {
|
||||||
@ -82,7 +84,7 @@ public class WxTagListUser {
|
|||||||
private List<String> openidList;
|
private List<String> openidList;
|
||||||
|
|
||||||
public List<String> getOpenidList() {
|
public List<String> getOpenidList() {
|
||||||
return openidList;
|
return this.openidList;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setOpenidList(List<String> openidList) {
|
public void setOpenidList(List<String> openidList) {
|
||||||
|
Loading…
Reference in New Issue
Block a user