Commit 3fe78583 authored by hezhen's avatar hezhen

123

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