mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 10:38:42 +08:00 
			
		
		
		
	补充缺失的serialVersionUID
This commit is contained in:
		| @ -7,9 +7,9 @@ import me.chanjar.weixin.mp.api.WxMpConfigStorage; | |||||||
| import me.chanjar.weixin.mp.api.WxMpService; | import me.chanjar.weixin.mp.api.WxMpService; | ||||||
| import me.chanjar.weixin.mp.api.WxMpSubscribeMsgService; | import me.chanjar.weixin.mp.api.WxMpSubscribeMsgService; | ||||||
| import me.chanjar.weixin.mp.bean.subscribe.WxMpSubscribeMessage; | import me.chanjar.weixin.mp.bean.subscribe.WxMpSubscribeMessage; | ||||||
| import me.chanjar.weixin.mp.enums.WxMpApiUrl; |  | ||||||
|  |  | ||||||
| import static me.chanjar.weixin.mp.enums.WxMpApiUrl.SubscribeMsg.*; | import static me.chanjar.weixin.mp.enums.WxMpApiUrl.SubscribeMsg.SEND_MESSAGE_URL; | ||||||
|  | import static me.chanjar.weixin.mp.enums.WxMpApiUrl.SubscribeMsg.SUBSCRIBE_MESSAGE_AUTHORIZE_URL; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * 一次性订阅消息接口. |  * 一次性订阅消息接口. | ||||||
| @ -24,8 +24,8 @@ public class WxMpSubscribeMsgServiceImpl implements WxMpSubscribeMsgService { | |||||||
|   @Override |   @Override | ||||||
|   public String subscribeMsgAuthorizationUrl(String redirectURI, int scene, String reserved) { |   public String subscribeMsgAuthorizationUrl(String redirectURI, int scene, String reserved) { | ||||||
|     WxMpConfigStorage storage = this.wxMpService.getWxMpConfigStorage(); |     WxMpConfigStorage storage = this.wxMpService.getWxMpConfigStorage(); | ||||||
|     return String.format(SUBSCRIBE_MESSAGE_AUTHORIZE_URL.getUrl(), |     return String.format(SUBSCRIBE_MESSAGE_AUTHORIZE_URL.getUrl(), storage.getAppId(), scene, storage.getTemplateId(), | ||||||
|       storage.getAppId(), scene, storage.getTemplateId(), URIUtil.encodeURIComponent(redirectURI), reserved); |       URIUtil.encodeURIComponent(redirectURI), reserved); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   @Override |   @Override | ||||||
|  | |||||||
| @ -17,6 +17,8 @@ import java.io.Serializable; | |||||||
| @Data | @Data | ||||||
| @Builder | @Builder | ||||||
| public class WxPayAppOrderResult implements Serializable { | public class WxPayAppOrderResult implements Serializable { | ||||||
|  |   private static final long serialVersionUID = 5408678833978707228L; | ||||||
|  |  | ||||||
|   private String sign; |   private String sign; | ||||||
|   private String prepayId; |   private String prepayId; | ||||||
|   private String partnerId; |   private String partnerId; | ||||||
|  | |||||||
| @ -18,6 +18,8 @@ import java.io.Serializable; | |||||||
| @Data | @Data | ||||||
| @Builder | @Builder | ||||||
| public class WxPayMpOrderResult implements Serializable { | public class WxPayMpOrderResult implements Serializable { | ||||||
|  |   private static final long serialVersionUID = -7966682379048446567L; | ||||||
|  |  | ||||||
|   private String appId; |   private String appId; | ||||||
|   private String timeStamp; |   private String timeStamp; | ||||||
|   private String nonceStr; |   private String nonceStr; | ||||||
|  | |||||||
| @ -17,6 +17,8 @@ import java.io.Serializable; | |||||||
| @Data | @Data | ||||||
| @AllArgsConstructor | @AllArgsConstructor | ||||||
| public class WxPayMwebOrderResult implements Serializable { | public class WxPayMwebOrderResult implements Serializable { | ||||||
|  |   private static final long serialVersionUID = 8866329695767762066L; | ||||||
|  |  | ||||||
|   @XStreamAlias("mwebUrl") |   @XStreamAlias("mwebUrl") | ||||||
|   private String mwebUrl; |   private String mwebUrl; | ||||||
| } | } | ||||||
|  | |||||||
| @ -16,5 +16,7 @@ import java.io.Serializable; | |||||||
| @Data | @Data | ||||||
| @AllArgsConstructor | @AllArgsConstructor | ||||||
| public class WxPayNativeOrderResult implements Serializable { | public class WxPayNativeOrderResult implements Serializable { | ||||||
|  |   private static final long serialVersionUID = 887792717425241444L; | ||||||
|  |  | ||||||
|   private String codeUrl; |   private String codeUrl; | ||||||
| } | } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Binary Wang
					Binary Wang