Commit ed1ce9c1 authored by hezhen's avatar hezhen

123

parent b5b5eaa0
...@@ -43,6 +43,9 @@ public class WeixinController { ...@@ -43,6 +43,9 @@ public class WeixinController {
@Value("${wx.url}") @Value("${wx.url}")
private String url; private String url;
@Value("${wx.domainUrl}")
private String domainUrl;
...@@ -53,7 +56,7 @@ public class WeixinController { ...@@ -53,7 +56,7 @@ public class WeixinController {
redirec_url=""; redirec_url="";
} }
redirec_url=request.getServerName()+"/"+redirec_url; redirec_url=domainUrl+"/"+redirec_url;
log.info("-----微信wxLogin---redirec_url=="+redirec_url); log.info("-----微信wxLogin---redirec_url=="+redirec_url);
try { try {
String encrypt_curr_url = Base64.encode(redirec_url.getBytes("utf-8")); String encrypt_curr_url = Base64.encode(redirec_url.getBytes("utf-8"));
......
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