mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 02:28:25 +08:00 
			
		
		
		
	add serialVersionUID for the classes which implement Serializable interface
This commit is contained in:
		| @ -5,6 +5,7 @@ import me.chanjar.weixin.common.util.json.WxGsonBuilder; | |||||||
| import java.io.Serializable; | import java.io.Serializable; | ||||||
|  |  | ||||||
| public class WxAccessToken implements Serializable { | public class WxAccessToken implements Serializable { | ||||||
|  |   private static final long serialVersionUID = 8709719312922168909L; | ||||||
|  |  | ||||||
|   private String accessToken; |   private String accessToken; | ||||||
|    |    | ||||||
|  | |||||||
| @ -10,6 +10,8 @@ import java.io.Serializable; | |||||||
|  */ |  */ | ||||||
| public class WxCardApiSignature implements Serializable { | public class WxCardApiSignature implements Serializable { | ||||||
|  |  | ||||||
|  |     private static final long serialVersionUID = 158176707226975979L; | ||||||
|  |  | ||||||
|     private String appId; |     private String appId; | ||||||
|  |  | ||||||
|     private String cardId; |     private String cardId; | ||||||
|  | |||||||
| @ -6,6 +6,8 @@ import java.io.Serializable; | |||||||
|  * jspai signature |  * jspai signature | ||||||
|  */ |  */ | ||||||
| public class WxJsapiSignature implements Serializable { | public class WxJsapiSignature implements Serializable { | ||||||
|  |   private static final long serialVersionUID = -1116808193154384804L; | ||||||
|  |  | ||||||
|   private String appid; |   private String appid; | ||||||
|    |    | ||||||
|   private String noncestr; |   private String noncestr; | ||||||
|  | |||||||
| @ -16,6 +16,8 @@ import java.util.List; | |||||||
|  */ |  */ | ||||||
| public class WxMenu implements Serializable { | public class WxMenu implements Serializable { | ||||||
|  |  | ||||||
|  |   private static final long serialVersionUID = -7083914585539687746L; | ||||||
|  |  | ||||||
|   private List<WxMenuButton> buttons = new ArrayList<WxMenuButton>(); |   private List<WxMenuButton> buttons = new ArrayList<WxMenuButton>(); | ||||||
|  |  | ||||||
|   private WxMenuRule matchRule; |   private WxMenuRule matchRule; | ||||||
|  | |||||||
| @ -12,6 +12,8 @@ import java.io.Serializable; | |||||||
|  */ |  */ | ||||||
| public class WxError implements Serializable { | public class WxError implements Serializable { | ||||||
|  |  | ||||||
|  |   private static final long serialVersionUID = 7869786563361406291L; | ||||||
|  |  | ||||||
|   private int errorCode; |   private int errorCode; | ||||||
|    |    | ||||||
|   private String errorMsg; |   private String errorMsg; | ||||||
|  | |||||||
| @ -5,6 +5,7 @@ import me.chanjar.weixin.common.util.json.WxGsonBuilder; | |||||||
| import java.io.Serializable; | import java.io.Serializable; | ||||||
|  |  | ||||||
| public class WxMediaUploadResult implements Serializable { | public class WxMediaUploadResult implements Serializable { | ||||||
|  |   private static final long serialVersionUID = 330834334738622341L; | ||||||
|    |    | ||||||
|   private String type; |   private String type; | ||||||
|   private String mediaId; |   private String mediaId; | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 BinaryWang
					BinaryWang