Commit 3fe78583 authored by hezhen's avatar hezhen

123

parent 3172167e
...@@ -56,7 +56,8 @@ public class WeixinController { ...@@ -56,7 +56,8 @@ public class WeixinController {
String encrypt_curr_url = Base64.encode(redirec_url.getBytes("utf-8")); String encrypt_curr_url = Base64.encode(redirec_url.getBytes("utf-8"));
redirec_url=url+"?" + WECHAT_AUTOLOGIN_CALLBACKURL_KEY+ "=" + encrypt_curr_url; redirec_url=url+"?" + WECHAT_AUTOLOGIN_CALLBACKURL_KEY+ "=" + encrypt_curr_url;
String oauth_api=redirec_url+"&code=111";//weixinService.getAuthorize(redirec_url); String oauth_api=redirec_url+"&code=111";//weixinService.getAuthorize(redirec_url);
return String.format("redirect:"+oauth_api); log.info("-----微信wxLogin---oauth_api=="+oauth_api);
return String.format("redirect:"+oauth_api);
}catch (Exception e){ }catch (Exception e){
e.printStackTrace(); e.printStackTrace();
log.info("网络异常===" + e.getMessage()); log.info("网络异常===" + e.getMessage());
......
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