Commit 402e1939 authored by hezhen's avatar hezhen

123

parent 8e5524d3
......@@ -70,6 +70,7 @@ public class WeixinService {
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 result = HttpRequestUtil.httpGet(url);
log.info("---result===="+result);
JSONObject data = JSON.parseObject(result);
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