james 11 kuukautta sitten
vanhempi
commit
b098ed5318

+ 2 - 1
service-iot/service-iot-biz/src/main/java/com/usky/iot/controller/web/WeChatController.java

@@ -78,7 +78,8 @@ public class WeChatController {
         if(userAgent.contains("MicroMessenger")){ //wx
             request.getSession().setAttribute("type","wx");
             if(StringUtils.isBlank(code)){
-                String temp = http+constant.call_back_domain+request.getRequestURI();
+//                String temp = http+constant.call_back_domain+request.getRequestURI();
+                String temp = "https://manager.usky.cn/prod-api/service-iot/weChat/getFirst1";
                 String url = URLDecoder.decode(temp, "UTF-8");
                 String sendUrl = "https://open.weixin.qq.com/connect/oauth2/authorize?appid="+constant.WE_CHAT_APP_ID+"&redirect_uri="+url+"&response_type=code&scope=snsapi_base&state=abc123#wechat_redirect";
                 try{