Browse Source

fix: 修复分享问题

kindring 7 months ago
parent
commit
68888f5d6c

+ 2 - 1
src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/device/DeviceQuery.java

@@ -1,6 +1,7 @@
 package com.genersoft.iot.vmp.vmanager.gb28181.device;
 
 import cn.dev33.satoken.annotation.SaCheckRole;
+import cn.dev33.satoken.annotation.SaIgnore;
 import com.alibaba.fastjson2.JSONObject;
 import com.genersoft.iot.vmp.conf.DynamicTask;
 import com.genersoft.iot.vmp.conf.exception.ControllerException;
@@ -807,7 +808,7 @@ public class DeviceQuery {
 
     @Operation(summary = "获取分享信息")
     @Parameter(name = "shareCode", description = "分享码", required = true)
-    @Ignore
+    @SaIgnore
     @GetMapping("/share/info")
     public WVPResult<Device> getShareInfo(@RequestParam String shareCode) {
         logger.info("获取分享信息: {}", shareCode);