|
@@ -28,7 +28,7 @@ public class SimpleOAuth2Controller {
|
|
String contextPath = request.getContextPath();
|
|
String contextPath = request.getContextPath();
|
|
logger.info("domain name: " + requestUrl + " project name: " + contextPath);
|
|
logger.info("domain name: " + requestUrl + " project name: " + contextPath);
|
|
//拼接微信回调地址
|
|
//拼接微信回调地址
|
|
- String backUrl ="http://total2.viphk.ngrok.org/weXin/theOrder/orderFrom";
|
|
|
|
|
|
+ String backUrl ="http://121.196.48.88:18081/weXin/theOrder/orderFrom";
|
|
String redirect_uri = "";
|
|
String redirect_uri = "";
|
|
try {
|
|
try {
|
|
redirect_uri = URLEncoder.encode(backUrl, "utf-8");
|
|
redirect_uri = URLEncoder.encode(backUrl, "utf-8");
|