Commit afa6b0c1 by 黄森林

微信注册

parent 190ff310
...@@ -297,7 +297,7 @@ public class LoginPwdController extends BaseController { ...@@ -297,7 +297,7 @@ public class LoginPwdController extends BaseController {
String openId = map.get("openid").toString(); String openId = map.get("openid").toString();
log.info("openId:"+openId); log.info("openId:"+openId);
String accessToken = map.get("access_token").toString(); String accessToken = map.get("access_token").toString();
String url1 = " https://api.weixin.qq.com/sns/userinfo?access_token="+accessToken+"&openid="+openId+"&lang=zh_CN"; String url1 = "https://api.weixin.qq.com/sns/userinfo?access_token="+accessToken+"&openid="+openId+"&lang=zh_CN";
String jsonObject1 = null; String jsonObject1 = null;
try { try {
jsonObject1 = HttpHelper.sendGet(url1); jsonObject1 = HttpHelper.sendGet(url1);
......
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