Browse Source

管理员已读修改

Signed-off-by: anderx <312518615@qq.com>
anderx 6 years ago
parent
commit
59b49f4570

+ 0 - 5
src/main/java/com/goafanti/admin/service/impl/NoticeServiceImpl.java

@@ -26,15 +26,10 @@ public class NoticeServiceImpl extends BaseMybatisDao<NoticeMapper> implements N
 	@Override
 	public Pagination<NoticeBo> updateListUnreadNoticeByAid(Integer pageNo, Integer pageSize, String aid) {
 		Map<String, Object> params = new HashMap<>();
-
-		if (!TokenManager.hasRole(AFTConstants.SUPERADMIN)) {
 			params.put("aid", aid);
-		}
-
 		if (pageNo == null || pageNo < 0) {
 			pageNo = 1;
 		}
-
 		if (pageSize == null || pageSize < 0) {
 			pageSize = 10;
 		}