| @@ -20,8 +20,9 @@ import java.util.Map; | |||||
| * <pre> | * <pre> | ||||
| * bean操作的一些工具类 | * bean操作的一些工具类 | ||||
| * Created by Binary Wang on 2016-10-21. | * Created by Binary Wang on 2016-10-21. | ||||
| * @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
| * </pre> | * </pre> | ||||
| * | |||||
| * @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
| */ | */ | ||||
| public class BeanUtils { | public class BeanUtils { | ||||
| private static Logger log = LoggerFactory.getLogger(BeanUtils.class); | private static Logger log = LoggerFactory.getLogger(BeanUtils.class); | ||||
| @@ -8,8 +8,9 @@ import org.apache.commons.lang3.builder.ToStringStyle; | |||||
| * <pre> | * <pre> | ||||
| * 自定义的ToString方法,用于产生去掉空值属性的字符串 | * 自定义的ToString方法,用于产生去掉空值属性的字符串 | ||||
| * Created by Binary Wang on 2016-10-27. | * Created by Binary Wang on 2016-10-27. | ||||
| * @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
| * </pre> | * </pre> | ||||
| * | |||||
| * @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
| */ | */ | ||||
| public class ToStringUtils { | public class ToStringUtils { | ||||
| public static final ToStringStyle THE_STYLE = new SimpleMultiLineToStringStyle(); | public static final ToStringStyle THE_STYLE = new SimpleMultiLineToStringStyle(); | ||||
| @@ -10,7 +10,7 @@ import static org.testng.Assert.assertNotNull; | |||||
| * Created by BinaryWang on 2017/6/10. | * Created by BinaryWang on 2017/6/10. | ||||
| * </pre> | * </pre> | ||||
| * | * | ||||
| * @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
| * @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
| */ | */ | ||||
| public class SHA1Test { | public class SHA1Test { | ||||
| @Test | @Test | ||||
| @@ -4,8 +4,9 @@ package me.chanjar.weixin.cp.api.impl; | |||||
| * <pre> | * <pre> | ||||
| * 默认接口实现类,使用apache httpclient实现 | * 默认接口实现类,使用apache httpclient实现 | ||||
| * Created by Binary Wang on 2017-5-27. | * Created by Binary Wang on 2017-5-27. | ||||
| * @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
| * </pre> | * </pre> | ||||
| * | |||||
| * @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
| */ | */ | ||||
| public class WxCpServiceImpl extends WxCpServiceApacheHttpClientImpl { | public class WxCpServiceImpl extends WxCpServiceApacheHttpClientImpl { | ||||
| } | } | ||||
| @@ -1,6 +1,5 @@ | |||||
| package me.chanjar.weixin.mp.bean.datacube; | package me.chanjar.weixin.mp.bean.datacube; | ||||
| import com.google.gson.JsonParser; | |||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import com.google.gson.reflect.TypeToken; | import com.google.gson.reflect.TypeToken; | ||||
| import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder; | import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder; | ||||
| @@ -9,9 +8,10 @@ import java.util.List; | |||||
| /** | /** | ||||
| * 图文分析数据接口返回结果对象 | * 图文分析数据接口返回结果对象 | ||||
| * <p> | |||||
| * Created by Binary Wang on 2016/8/24. | |||||
| * | * | ||||
| * @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
| * Created by Binary Wang on 2016/8/24. | |||||
| * @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
| */ | */ | ||||
| public class WxDataCubeArticleResult extends WxDataCubeBaseResult { | public class WxDataCubeArticleResult extends WxDataCubeBaseResult { | ||||
| private static final long serialVersionUID = -9222452497954511765L; | private static final long serialVersionUID = -9222452497954511765L; | ||||
| @@ -1,6 +1,5 @@ | |||||
| package me.chanjar.weixin.mp.bean.datacube; | package me.chanjar.weixin.mp.bean.datacube; | ||||
| import com.google.gson.JsonParser; | |||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import com.google.gson.reflect.TypeToken; | import com.google.gson.reflect.TypeToken; | ||||
| import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder; | import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder; | ||||
| @@ -9,9 +8,10 @@ import java.util.List; | |||||
| /** | /** | ||||
| * 图文分析数据接口返回结果对象 | * 图文分析数据接口返回结果对象 | ||||
| * <p> | |||||
| * Created by Binary Wang on 2016/8/24. | |||||
| * | * | ||||
| * @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
| * Created by Binary Wang on 2016/8/24. | |||||
| * @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
| */ | */ | ||||
| public class WxDataCubeArticleTotal extends WxDataCubeBaseResult { | public class WxDataCubeArticleTotal extends WxDataCubeBaseResult { | ||||
| private static final long serialVersionUID = -7634365687303052699L; | private static final long serialVersionUID = -7634365687303052699L; | ||||
| @@ -6,11 +6,12 @@ import java.io.Serializable; | |||||
| /** | /** | ||||
| * 获取图文群发总数据接口(getarticletotal)中的详细字段 | * 获取图文群发总数据接口(getarticletotal)中的详细字段 | ||||
| * <p> | |||||
| * Created by Binary Wang on 2016/8/24. | |||||
| * | * | ||||
| * @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
| * Created by Binary Wang on 2016/8/24. | |||||
| * @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
| */ | */ | ||||
| public class WxDataCubeArticleTotalDetail implements Serializable{ | |||||
| public class WxDataCubeArticleTotalDetail implements Serializable { | |||||
| private static final long serialVersionUID = -5136169129771430052L; | private static final long serialVersionUID = -5136169129771430052L; | ||||
| /** | /** | ||||
| @@ -12,7 +12,7 @@ import java.io.Serializable; | |||||
| * Created by Binary Wang on 2016/8/25. | * Created by Binary Wang on 2016/8/25. | ||||
| * </pre> | * </pre> | ||||
| * | * | ||||
| * @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
| * @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
| */ | */ | ||||
| public abstract class WxDataCubeBaseResult implements Serializable { | public abstract class WxDataCubeBaseResult implements Serializable { | ||||
| private static final long serialVersionUID = 8780389911053297600L; | private static final long serialVersionUID = 8780389911053297600L; | ||||
| @@ -1,6 +1,5 @@ | |||||
| package me.chanjar.weixin.mp.bean.datacube; | package me.chanjar.weixin.mp.bean.datacube; | ||||
| import com.google.gson.JsonParser; | |||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import com.google.gson.reflect.TypeToken; | import com.google.gson.reflect.TypeToken; | ||||
| import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder; | import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder; | ||||
| @@ -9,9 +8,10 @@ import java.util.List; | |||||
| /** | /** | ||||
| * 接口分析数据接口返回结果对象 | * 接口分析数据接口返回结果对象 | ||||
| * <p> | |||||
| * Created by Binary Wang on 2016/8/30. | |||||
| * | * | ||||
| * @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
| * Created by Binary Wang on 2016/8/30. | |||||
| * @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
| */ | */ | ||||
| public class WxDataCubeInterfaceResult extends WxDataCubeBaseResult { | public class WxDataCubeInterfaceResult extends WxDataCubeBaseResult { | ||||
| private static final long serialVersionUID = 597734329161281398L; | private static final long serialVersionUID = 597734329161281398L; | ||||
| @@ -1,6 +1,5 @@ | |||||
| package me.chanjar.weixin.mp.bean.datacube; | package me.chanjar.weixin.mp.bean.datacube; | ||||
| import com.google.gson.JsonParser; | |||||
| import com.google.gson.annotations.SerializedName; | import com.google.gson.annotations.SerializedName; | ||||
| import com.google.gson.reflect.TypeToken; | import com.google.gson.reflect.TypeToken; | ||||
| import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder; | import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder; | ||||
| @@ -9,9 +8,10 @@ import java.util.List; | |||||
| /** | /** | ||||
| * 消息分析数据接口返回结果对象 | * 消息分析数据接口返回结果对象 | ||||
| * <p> | |||||
| * Created by Binary Wang on 2016/8/29. | |||||
| * | * | ||||
| * @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
| * Created by Binary Wang on 2016/8/29. | |||||
| * @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
| */ | */ | ||||
| public class WxDataCubeMsgResult extends WxDataCubeBaseResult { | public class WxDataCubeMsgResult extends WxDataCubeBaseResult { | ||||
| private static final long serialVersionUID = 6932121822150573659L; | private static final long serialVersionUID = 6932121822150573659L; | ||||