You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					21 lines
				
				493 B
			
		
		
			
		
	
	
					21 lines
				
				493 B
			| 
											3 years ago
										 | package com.ynxbd.wx.wxfactory.bean;
 | ||
|  | 
 | ||
|  | import lombok.Getter;
 | ||
|  | import lombok.NoArgsConstructor;
 | ||
|  | import lombok.Setter;
 | ||
|  | import lombok.ToString;
 | ||
|  | 
 | ||
|  | @Getter
 | ||
|  | @Setter
 | ||
|  | @ToString(callSuper = true)
 | ||
|  | @NoArgsConstructor
 | ||
|  | public class WxBaseResult {
 | ||
|  |     private final String SUCCESS_CODE = "0";
 | ||
|  |     private String errCode;
 | ||
|  |     private String errMsg;
 | ||
|  | 
 | ||
|  |     public boolean isSuccess() {
 | ||
|  |         return this.errCode == null || this.errCode.isEmpty() || SUCCESS_CODE.equals(this.errCode);
 | ||
|  |     }
 | ||
|  | }
 |