#378 修复第三方平台接口BUG

* 增加 微信第三方平台 接口

* WxOpenXmlMessage 消息处理

* 增加 摇周边部分接口

* fix

* fix

* rebase

* 增加 摇周边部分接口

* fix

* fix

* unix 换行符

* fix 三方接口BUG
This commit is contained in:
007gzs
2017-11-21 13:59:46 +08:00
committed by Binary Wang
parent d32cf99b6d
commit 556487078c
3 changed files with 3 additions and 3 deletions

View File

@@ -17,10 +17,10 @@ public interface WxOpenComponentService {
String API_COMPONENT_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/component/api_component_token";
String API_CREATE_PREAUTHCODE_URL = "https://api.weixin.qq.com/cgi-bin/component/api_create_preauthcode";
String API_QUERY_AUTH_URL = "https://api.weixin.qq.com/cgi-bin/component/api_query_auth";
String API_AUTHORIZER_TOKEN_URL = "https://api.weixin.qq.com /cgi-bin/component/api_authorizer_token";
String API_AUTHORIZER_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/component/api_authorizer_token";
String API_GET_AUTHORIZER_INFO_URL = "https://api.weixin.qq.com/cgi-bin/component/api_get_authorizer_info";
String API_GET_AUTHORIZER_OPTION_URL = "https://api.weixin.qq.com/cgi-bin/component/api_get_authorizer_option";
String API_SET_AUTHORIZER_OPTION_URL = "https://api.weixin.qq.com/cgi-bin/component/ api_set_authorizer_option";
String API_SET_AUTHORIZER_OPTION_URL = "https://api.weixin.qq.com/cgi-bin/component/api_set_authorizer_option";
String COMPONENT_LOGIN_PAGE_URL = "https://mp.weixin.qq.com/cgi-bin/componentloginpage?component_appid=%s&pre_auth_code=%s&redirect_uri=%s";

View File

@@ -18,6 +18,7 @@ public class WxOpenMpServiceImpl extends WxMpServiceImpl {
this.wxOpenComponentService = wxOpenComponentService;
this.appId = appId;
this.wxMpConfigStorage = wxMpConfigStorage;
initHttp();
}
@Override

View File

@@ -46,7 +46,6 @@ public class WxOpenXmlMessage implements Serializable {
private String authorizationCode;
@XStreamAlias("AuthorizationCodeExpiredTime")
@XStreamConverter(value = XStreamCDataConverter.class)
private Long authorizationCodeExpiredTime;
@XStreamAlias("PreAuthCode")