Commit 1dce1399 authored by hezhen's avatar hezhen Committed by libin

123

parent 666327c0
...@@ -65,7 +65,7 @@ public class WeChatH5LoginInterceoptor extends HandlerInterceptorAdapter { ...@@ -65,7 +65,7 @@ public class WeChatH5LoginInterceoptor extends HandlerInterceptorAdapter {
log.info("curr_url=====" + curr_url + "-----code=" + code); log.info("curr_url=====" + curr_url + "-----code=" + code);
if (StringUtils.isBlank(code)) { if (StringUtils.isBlank(code)) {
String redirec_url=curr_url+"?" + WECHAT_AUTOLOGIN_CALLBACKURL_KEY+ "=" + encrypt_curr_url; String redirec_url=curr_url+"?" + WECHAT_AUTOLOGIN_CALLBACKURL_KEY+ "=" + encrypt_curr_url;
String oauth_api=weixinService.getAuthorize(redirec_url); String oauth_api=weixinService.getAuthorize(curr_url);
log.info("curr_url=====" + curr_url); log.info("curr_url=====" + curr_url);
response.sendRedirect(oauth_api); response.sendRedirect(oauth_api);
return false; return false;
......
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