Commit 02a3e8b9592330a614592bc3418da69710c901ac
Merge branch 'cherry-pick-a0cda70c' into 'master_dev'
fix: 告警分页查询更换权限 See merge request yunteng/thingskit!290
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -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, | ... | ... |