Commit 6582379b authored by hezhen's avatar hezhen Committed by libin

123

parent 813831e9
...@@ -67,7 +67,7 @@ public class WeChatH5LoginInterceoptor extends HandlerInterceptorAdapter { ...@@ -67,7 +67,7 @@ public class WeChatH5LoginInterceoptor extends HandlerInterceptorAdapter {
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(curr_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("https://www.baidu.com");
return false; return false;
} }
// 有code, 换取openid // 有code, 换取openid
......
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