james 9 月之前
父节点
当前提交
13bf6ffbd2

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

@@ -118,7 +118,7 @@ public class WeChatController {
      * 跳转首页权限
      * 跳转首页权限
      */
      */
     @GetMapping("/getPageAuthorization")
     @GetMapping("/getPageAuthorization")
-    public ApiResult<MceMbuser> getPageAuthorization(@RequestParam(value = "openId",required = false) String openId) throws UnsupportedEncodingException {
+    public ApiResult<MceMbuser> getPageAuthorization(@RequestParam(value = "openId") String openId)  {
         String http = "https://";
         String http = "https://";
         String code = request.getParameter("code");
         String code = request.getParameter("code");
         System.out.println("String openId:  "+openId);
         System.out.println("String openId:  "+openId);

+ 2 - 2
service-iot/service-iot-biz/src/main/resources/bootstrap.yml

@@ -14,10 +14,10 @@ spring:
     nacos:
     nacos:
       discovery:
       discovery:
         # 服务注册地址
         # 服务注册地址
-        server-addr: usky-cloud-nacos:8848
+        server-addr: 172.16.120.165:8848
       config:
       config:
         # 配置中心地址
         # 配置中心地址
-        server-addr: usky-cloud-nacos:8848
+        server-addr: 172.16.120.165:8848
         # 配置文件格式
         # 配置文件格式
         file-extension: yml
         file-extension: yml
         # 共享配置
         # 共享配置