修改通用接口权限校验

pull/22/head
rays 2021-06-21 09:49:41 +08:00
parent d1251f855f
commit 2717aa24c7
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ public class SysMessageController {
* @author fengshuonan
* @date 2021/6/12 17:42
*/
@GetResource(name = "查询所有未读系统消息列表", path = "/sysMessage/unReadMessageList")
@GetResource(name = "查询所有未读系统消息列表", path = "/sysMessage/unReadMessageList", requiredPermission = false)
public ResponseData unReadMessageList(MessageRequest messageRequest) {
messageRequest.setReadFlag(MessageReadFlagEnum.UNREAD.getCode());
List<MessageResponse> messageResponses = messageApi.queryListCurrentUser(messageRequest);

View File

@ -151,7 +151,7 @@ public class SysAppController {
* @author fengshuonan
* @date 2021/4/21 15:31
*/
@GetResource(name = "获取应用列表,用于顶部应用列表", path = "/sysMenu/getTopAppList")
@GetResource(name = "获取应用列表,用于顶部应用列表", path = "/sysMenu/getTopAppList", requiredPermission = false)
public ResponseData getTopAppList() {
List<SysApp> userTopAppList = sysAppService.getUserTopAppList();
return new SuccessResponseData(userTopAppList);