mirror of https://gitee.com/stylefeng/roses
修改通用接口权限校验
parent
d1251f855f
commit
2717aa24c7
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue