Browse Source

优化微信回调

wuhongshuang 2 năm trước cách đây
mục cha
commit
92d8532c78
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/main/java/com/szwl/controller/TWechatController.java

+ 2 - 1
src/main/java/com/szwl/controller/TWechatController.java

@@ -104,7 +104,8 @@ public class TWechatController {
         } else {
             throw new MyException("用户不存在!");
         }
-        String path = http + "/tWechat/callback?";
+//        String path = http + "/tWechat/callback?";
+        String path = http + "http://szwltest.sunzee.com.cn/SZWL-SERVER/tWechat/callback?";
 
         try {
             path = URLEncoder.encode(path, "UTF-8");