Commit e3d84752 authored by hezhen's avatar hezhen

1233

parent 67b6c4da
...@@ -58,7 +58,7 @@ public class WeixinService { ...@@ -58,7 +58,7 @@ public class WeixinService {
String oauth_api = "https://open.weixin.qq.com/connect/oauth2/authorize?appid={APPID}&redirect_uri={REDIRECT_URI}&response_type=code&scope={SCOPE}&state={STATE}#wechat_redirect"; String oauth_api = "https://open.weixin.qq.com/connect/oauth2/authorize?appid={APPID}&redirect_uri={REDIRECT_URI}&response_type=code&scope={SCOPE}&state={STATE}#wechat_redirect";
oauth_api = oauth_api.replace("{APPID}", wy_appid) oauth_api = oauth_api.replace("{APPID}", wy_appid)
.replace("{REDIRECT_URI}", redirec_url) .replace("{REDIRECT_URI}", redirec_url)
.replace("{SCOPE}", "snsapi_base").replace("{STATE}", "state"); .replace("{SCOPE}", "snsapi_userinfo").replace("{STATE}", "state");
log.info("---oauth_api===="+oauth_api); log.info("---oauth_api===="+oauth_api);
return oauth_api; return oauth_api;
} }
......
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