Bladeren bron

开放电机地图数据五登录可查看

车车 1 maand geleden
bovenliggende
commit
d73ac2b56d

+ 1 - 0
ktg-framework/src/main/java/com/ktg/framework/config/SecurityConfig.java

@@ -105,6 +105,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
                 .antMatchers("/iscs/key/selectIsKeyByNfcWithoutAuth").permitAll()
                 .antMatchers("/iscs/hardware/material-api/selectMaterialsByRfidList").permitAll()
                 .antMatchers("/iscs/hardware/material-api/selectCabinetMaterials").permitAll()
+                .antMatchers("/iscs/map/selectIsMapById", "/iscs/motor/getIsMotorListByLotoId", "/iscs/station/getIsLotoStationPage").permitAll()
                 .antMatchers("/iscs/hardware-api/updateSwitchList").anonymous()
                 .antMatchers(
                         HttpMethod.GET,

+ 1 - 1
ktg-iscs/src/main/java/com/ktg/iscs/controller/IsLotoStationController.java

@@ -48,7 +48,7 @@ public class IsLotoStationController extends BaseController
             @Parameter(name = "page", description = "Page"),
             @Parameter(name = "isLotoStation", description = "实体参数")
     })
-    @PreAuthorize("@ss.hasPermi('iscs:station:list')")
+    // @PreAuthorize("@ss.hasPermi('iscs:station:list')")
     @GetMapping("/getIsLotoStationPage")
     public CommonResult<Page<IsLotoStationVO>> getIsLotoStationPage(Page<IsLotoStation> page, IsLotoStation isLotoStation)
     {

+ 1 - 1
ktg-iscs/src/main/java/com/ktg/iscs/controller/IsMapController.java

@@ -68,7 +68,7 @@ public class IsMapController extends BaseController
 
     @ApiOperation("获取地图参数详细信息")
     @Parameter(name = "id", description = "id")
-    @PreAuthorize("@ss.hasPermi('iscs:map:query')")
+    // @PreAuthorize("@ss.hasPermi('iscs:map:query')")
     @GetMapping(value = "/selectIsMapById")
     public CommonResult<IsMap> selectIsMapById(Long id)
     {

+ 1 - 1
ktg-iscs/src/main/java/com/ktg/iscs/controller/IsMotorController.java

@@ -85,7 +85,7 @@ public class IsMotorController extends BaseController
     @Parameters({
             @Parameter(name = "lotoId", description = "锁控柜id")
     })
-    @PreAuthorize("@ss.hasPermi('iscs:motor:list')")
+    // @PreAuthorize("@ss.hasPermi('iscs:motor:list')")
     @GetMapping("/getIsMotorListByLotoId")
     public CommonResult<List<IsMotor>> getIsMotorListByLotoId(Long lotoId)
     {