fix(消息管理): 修复机器人列表权限报错问题

This commit is contained in:
guoyuqi 2024-02-13 22:36:20 +08:00 committed by 刘瑞斌
parent 301b8ffda4
commit a513d0778d
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class NoticeMessageTaskController {
@GetMapping("message/task/get/user/{projectId}")
@Operation(summary = "项目管理-消息管理-消息设置-获取用户列表")
@RequiresPermissions(PermissionConstants.PROJECT_MESSAGE_READ_ADD)
@RequiresPermissions(PermissionConstants.PROJECT_MESSAGE_READ)
public List<OptionDTO> getUserList(@PathVariable String projectId, @Schema(description = "查询关键字,根据用户名查询")
@RequestParam(value = "keyword", required = false) String keyword) {
return noticeMessageTaskService.getUserList(projectId, keyword);