@@ -9,9 +9,10 @@ import java.util.List; | |||||
/** | /** | ||||
* 门店管理的相关接口代码 | * 门店管理的相关接口代码 | ||||
* <p> | |||||
* Created by Binary Wang on 2016-09-23. | |||||
* | * | ||||
* @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
* Created by Binary Wang on 2016-09-23. | |||||
* @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
*/ | */ | ||||
public interface WxMpStoreService<H, P> { | public interface WxMpStoreService<H, P> { | ||||
/** | /** | ||||
@@ -13,7 +13,7 @@ import java.util.List; | |||||
* http://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1433751277&token=&lang=zh_CN | * http://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1433751277&token=&lang=zh_CN | ||||
* Created by Binary Wang on 2016-10-14. | * Created by Binary Wang on 2016-10-14. | ||||
* @author miller.lin | * @author miller.lin | ||||
* @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
* @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
* </pre> | * </pre> | ||||
*/ | */ | ||||
public interface WxMpTemplateMsgService { | public interface WxMpTemplateMsgService { | ||||
@@ -10,7 +10,7 @@ import java.util.List; | |||||
* 用户标签管理相关接口 | * 用户标签管理相关接口 | ||||
* Created by Binary Wang on 2016/9/2. | * Created by Binary Wang on 2016/9/2. | ||||
* | * | ||||
* @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
* @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
*/ | */ | ||||
public interface WxMpUserTagService { | public interface WxMpUserTagService { | ||||
@@ -4,8 +4,9 @@ package me.chanjar.weixin.mp.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 WxMpServiceImpl extends WxMpServiceApacheHttpClientImpl { | public class WxMpServiceImpl extends WxMpServiceApacheHttpClientImpl { | ||||
} | } |
@@ -15,8 +15,9 @@ import java.util.List; | |||||
/** | /** | ||||
* <pre> | * <pre> | ||||
* Created by Binary Wang on 2016-10-14. | * Created by Binary Wang on 2016-10-14. | ||||
* @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 WxMpTemplateMsgServiceImpl implements WxMpTemplateMsgService { | public class WxMpTemplateMsgServiceImpl implements WxMpTemplateMsgService { | ||||
public static final String API_URL_PREFIX = "https://api.weixin.qq.com/cgi-bin/template"; | public static final String API_URL_PREFIX = "https://api.weixin.qq.com/cgi-bin/template"; | ||||
@@ -16,8 +16,9 @@ import org.apache.commons.lang3.StringUtils; | |||||
import java.util.List; | import java.util.List; | ||||
/** | /** | ||||
* @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
* Created by Binary Wang on 2016/9/2. | |||||
* Created by Binary Wang on 2016/9/2. | |||||
* | |||||
* @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
*/ | */ | ||||
public class WxMpUserTagServiceImpl implements WxMpUserTagService { | public class WxMpUserTagServiceImpl implements WxMpUserTagService { | ||||
private static final String API_URL_PREFIX = "https://api.weixin.qq.com/cgi-bin/tags"; | private static final String API_URL_PREFIX = "https://api.weixin.qq.com/cgi-bin/tags"; | ||||
@@ -9,8 +9,9 @@ import java.io.Serializable; | |||||
/** | /** | ||||
* <pre> | * <pre> | ||||
* Created by Binary Wang on 2016-11-25. | * Created by Binary Wang on 2016-11-25. | ||||
* @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 WxMpGetSelfMenuInfoResult implements Serializable { | public class WxMpGetSelfMenuInfoResult implements Serializable { | ||||
private static final long serialVersionUID = -5612495636936835166L; | private static final long serialVersionUID = -5612495636936835166L; | ||||
@@ -13,8 +13,9 @@ import java.util.List; | |||||
* <pre> | * <pre> | ||||
* 公众号专用的菜单类,可能包含个性化菜单 | * 公众号专用的菜单类,可能包含个性化菜单 | ||||
* Created by Binary Wang on 2017-1-17. | * Created by Binary Wang on 2017-1-17. | ||||
* @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 WxMpMenu implements Serializable { | public class WxMpMenu implements Serializable { | ||||
private static final long serialVersionUID = -5794350513426702252L; | private static final long serialVersionUID = -5794350513426702252L; | ||||
@@ -10,8 +10,9 @@ import java.util.List; | |||||
/** | /** | ||||
* <pre> | * <pre> | ||||
* Created by Binary Wang on 2016-11-25. | * Created by Binary Wang on 2016-11-25. | ||||
* @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 WxMpSelfMenuInfo implements Serializable { | public class WxMpSelfMenuInfo implements Serializable { | ||||
private static final long serialVersionUID = -81203094124202901L; | private static final long serialVersionUID = -81203094124202901L; | ||||
@@ -17,7 +17,7 @@ import java.util.List; | |||||
* Created by Binary Wang on 2016-09-23. | * Created by Binary Wang on 2016-09-23. | ||||
* </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 WxMpStoreBaseInfo implements Serializable { | public class WxMpStoreBaseInfo implements Serializable { | ||||
private static final long serialVersionUID = 829577606838118218L; | private static final long serialVersionUID = 829577606838118218L; | ||||
@@ -13,7 +13,7 @@ import java.util.List; | |||||
* Created by Binary Wang on 2016-09-27. | * Created by Binary Wang on 2016-09-27. | ||||
* </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 WxMpStoreListResult implements Serializable { | public class WxMpStoreListResult implements Serializable { | ||||
private static final long serialVersionUID = 5388907559949538663L; | private static final long serialVersionUID = 5388907559949538663L; | ||||
@@ -13,7 +13,7 @@ import java.util.List; | |||||
* Created by Binary Wang on 2016-09-19. | * Created by Binary Wang on 2016-09-19. | ||||
* </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 WxTagListUser implements Serializable { | public class WxTagListUser implements Serializable { | ||||
private static final long serialVersionUID = -4551768374200676112L; | private static final long serialVersionUID = -4551768374200676112L; | ||||
@@ -14,7 +14,7 @@ import java.util.List; | |||||
* Created by Binary Wang on 2016/9/2. | * Created by Binary Wang on 2016/9/2. | ||||
* </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 WxUserTag implements Serializable { | public class WxUserTag implements Serializable { | ||||
private static final long serialVersionUID = -7722428695667031252L; | private static final long serialVersionUID = -7722428695667031252L; | ||||
@@ -15,7 +15,7 @@ import java.util.List; | |||||
* Created by Binary Wang on 2016-10-17. | * Created by Binary Wang on 2016-10-17. | ||||
* </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 WxMpTemplate implements Serializable { | public class WxMpTemplate implements Serializable { | ||||
private static final JsonParser JSON_PARSER = new JsonParser(); | private static final JsonParser JSON_PARSER = new JsonParser(); | ||||
@@ -4,8 +4,9 @@ package me.chanjar.weixin.mp.constant; | |||||
* <pre> | * <pre> | ||||
* 微信公众号事件的相关常量 | * 微信公众号事件的相关常量 | ||||
* Created by Binary Wang on 2017-5-10. | * Created by Binary Wang on 2017-5-10. | ||||
* @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 WxMpEventConstants { | public class WxMpEventConstants { | ||||
/** | /** | ||||
@@ -12,11 +12,12 @@ import org.testng.annotations.*; | |||||
import java.math.BigDecimal; | import java.math.BigDecimal; | ||||
import java.util.List; | import java.util.List; | ||||
import static org.testng.AssertJUnit.assertNotNull; | |||||
import static org.testng.AssertJUnit.*; | |||||
/** | /** | ||||
* @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
* Created by Binary Wang on 2016-09-23. | |||||
* Created by Binary Wang on 2016-09-23. | |||||
* | |||||
* @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
*/ | */ | ||||
@Test | @Test | ||||
@Guice(modules = ApiTestModule.class) | @Guice(modules = ApiTestModule.class) | ||||
@@ -20,8 +20,9 @@ import java.util.List; | |||||
/** | /** | ||||
* <pre> | * <pre> | ||||
* Created by Binary Wang on 2016-10-14. | * Created by Binary Wang on 2016-10-14. | ||||
* @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
* </pre> | * </pre> | ||||
* | |||||
* @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
*/ | */ | ||||
@Guice(modules = ApiTestModule.class) | @Guice(modules = ApiTestModule.class) | ||||
public class WxMpTemplateMsgServiceImplTest { | public class WxMpTemplateMsgServiceImplTest { | ||||
@@ -12,8 +12,9 @@ import org.testng.annotations.*; | |||||
import java.util.List; | import java.util.List; | ||||
/** | /** | ||||
* @author <a href="https://github.com/binarywang">binarywang(Binary Wang)</a> | |||||
* Created by Binary Wang on 2016/9/2. | |||||
* Created by Binary Wang on 2016/9/2. | |||||
* | |||||
* @author <a href="https://github.com/binarywang">Binary Wang</a> | |||||
*/ | */ | ||||
@Test | @Test | ||||
@Guice(modules = ApiTestModule.class) | @Guice(modules = ApiTestModule.class) | ||||
@@ -7,8 +7,9 @@ import static org.testng.AssertJUnit.*; | |||||
/** | /** | ||||
* <pre> | * <pre> | ||||
* Created by Binary Wang on 2017-3-30. | * Created by Binary Wang on 2017-3-30. | ||||
* @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 WxMpTemplateMessageTest { | public class WxMpTemplateMessageTest { | ||||
@Test | @Test | ||||