Commit bd83e388 authored by hezhen's avatar hezhen

Merge branch 'master_activity' into base-modify

parents 6e05ad9c 402e1939
...@@ -70,6 +70,7 @@ public class WeixinService { ...@@ -70,6 +70,7 @@ public class WeixinService {
public JSONObject getBaseUserInfo(String openid){ public JSONObject getBaseUserInfo(String openid){
String url = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=" + tokenService.getAccessTokenStr() + "&openid=" + openid + "&lang=zh_CN"; String url = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=" + tokenService.getAccessTokenStr() + "&openid=" + openid + "&lang=zh_CN";
String result = HttpRequestUtil.httpGet(url); String result = HttpRequestUtil.httpGet(url);
log.info("---result===="+result);
JSONObject data = JSON.parseObject(result); JSONObject data = JSON.parseObject(result);
return data; return data;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment