Commit 5994f864ed06f7f7cf787f4672fdc21ef0240ff3

Authored by xp.Huang
1 parent 005cb90b

fix: 告警分页查询更换权限


(cherry picked from commit a0cda70c)
... ... @@ -40,7 +40,7 @@ public class TkAlarmInfoController extends BaseController {
40 40
41 41 // 分页测试通过
42 42 @ApiOperation(value = "查询")
43   - @PreAuthorize("@check.checkPermissions({'TENANT_ADMIN','CUSTOMER_USER'},{})")
  43 + @PreAuthorize("hasAnyAuthority('TENANT_ADMIN', 'CUSTOMER_USER')")
44 44 @GetMapping(params = {PAGE_SIZE, PAGE})
45 45 public TkPageData<TkAlarmEntity> pageAlarmInfo(
46 46 @RequestParam(PAGE_SIZE) int pageSize,
... ...