mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-11-01 03:25:35 +08:00 
			
		
		
		
	🎨 #1619 企业微信获取用户信息接口优化,处理type为null情况下可能会导致的空指针问题
This commit is contained in:
		| @ -99,6 +99,7 @@ public class WxCpUserGsonAdapter implements JsonDeserializer<WxCpUser>, JsonSeri | ||||
|       user.getExtAttrs().add(attr); | ||||
|  | ||||
|       if (type == null) { | ||||
|         attr.setTextValue(GsonHelper.getString(attrJsonElement.getAsJsonObject(), "value")); | ||||
|         continue; | ||||
|       } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Binary Wang
					Binary Wang