mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 02:28:25 +08:00 
			
		
		
		
	#378 修复第三方平台接口BUG
* 增加 微信第三方平台 接口 * WxOpenXmlMessage 消息处理 * 增加 摇周边部分接口 * fix * fix * rebase * 增加 摇周边部分接口 * fix * fix * unix 换行符 * fix 三方接口BUG
This commit is contained in:
		| @ -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_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_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_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_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_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"; |   String COMPONENT_LOGIN_PAGE_URL = "https://mp.weixin.qq.com/cgi-bin/componentloginpage?component_appid=%s&pre_auth_code=%s&redirect_uri=%s"; | ||||||
|  | |||||||
| @ -18,6 +18,7 @@ public class WxOpenMpServiceImpl extends WxMpServiceImpl { | |||||||
|     this.wxOpenComponentService = wxOpenComponentService; |     this.wxOpenComponentService = wxOpenComponentService; | ||||||
|     this.appId = appId; |     this.appId = appId; | ||||||
|     this.wxMpConfigStorage = wxMpConfigStorage; |     this.wxMpConfigStorage = wxMpConfigStorage; | ||||||
|  |     initHttp(); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   @Override |   @Override | ||||||
|  | |||||||
| @ -46,7 +46,6 @@ public class WxOpenXmlMessage implements Serializable { | |||||||
|   private String authorizationCode; |   private String authorizationCode; | ||||||
|  |  | ||||||
|   @XStreamAlias("AuthorizationCodeExpiredTime") |   @XStreamAlias("AuthorizationCodeExpiredTime") | ||||||
|   @XStreamConverter(value = XStreamCDataConverter.class) |  | ||||||
|   private Long authorizationCodeExpiredTime; |   private Long authorizationCodeExpiredTime; | ||||||
|  |  | ||||||
|   @XStreamAlias("PreAuthCode") |   @XStreamAlias("PreAuthCode") | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 007gzs
					007gzs