实现公告获取和输出

This commit is contained in:
F嘉阳
2018-02-26 11:20:02 +08:00
parent b1db4a4944
commit b652389d4e
7 changed files with 87 additions and 27 deletions

View File

@@ -48,6 +48,9 @@ public class DataController {
@Autowired
private VUserfileService vUserfileService;
@Autowired
private NoticeService noticeService;
@Resource
private HttpServletRequest httpServletRequest;
@@ -172,4 +175,9 @@ public class DataController {
throw new UserException(ResultEnum.ILLEGAL_ACCESS);
}
}
@GetMapping("/home/findAllNotice")
public List<TbNotice> findAllNotice(){
return noticeService.findAll();
}
}