소스 검색

修改生成设备编号接口的权限

jishenghua 9 달 전
부모
커밋
10574dad68
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      gyj-iot-boot/gyjiot-open-api/src/main/java/com/gyjiot/data/controller/DeviceController.java

+ 1 - 1
gyj-iot-boot/gyjiot-open-api/src/main/java/com/gyjiot/data/controller/DeviceController.java

@@ -236,7 +236,7 @@ public class DeviceController extends BaseController
     /**
      * 生成设备编号
      */
-    @PreAuthorize("@ss.hasPermi('iot:device:edit')")
+    @PreAuthorize("@ss.hasPermi('iot:device:add')")
     @GetMapping("/generator")
     @ApiOperation("生成设备编号")
     public AjaxResult generatorDeviceNum(Integer type){