mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-11-01 03:25:35 +08:00 
			
		
		
		
	优化WxError类的toString方法,避免输出重复内容
This commit is contained in:
		| @ -50,7 +50,10 @@ public class WxError implements Serializable { | |||||||
|  |  | ||||||
|   @Override |   @Override | ||||||
|   public String toString() { |   public String toString() { | ||||||
|     return "微信错误: errcode=" + errorCode + ", errmsg=" + errorMsg + "\njson:" + json; |     if(json != null){ | ||||||
|  |       return json; | ||||||
|  |     } | ||||||
|  |     return "错误: Code=" + errorCode + ", Msg=" + errorMsg; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   public static Builder newBuilder(){ |   public static Builder newBuilder(){ | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 BinaryWang
					BinaryWang