src/main/java/com/hx/util/corp/CorpMpUtil.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/hx/util/corp/CorpMpUtil.java
@@ -29,13 +29,10 @@ * @return 返回 */ public static WeiXinInfo userInfo(String userId, String token) { logger.info("userId:"+userId); logger.info("token:"+token); Map<String,Object> map=new HashMap<>(); map.put("access_token",token); map.put("userid",userId); String datas = HttpMethodUtil.HttpURLUtilJson(URL_GET_USER_INFO, null, map, null, "GET"); logger.info("datas:"+datas); WeiXinInfo weiXinInfo = JSONObject.parseObject(datas, WeiXinInfo.class); return weiXinInfo; }