| | |
| | | @Autowired |
| | | ISiteMessageService iSiteMessageService; |
| | | |
| | | @Autowired |
| | | IUserService iUserService; |
| | | |
| | | //分页查询日志管理 所有定时任务信息及模糊查询 |
| | | @RequestMapping({"taskList.do"}) |
| | | @ResponseBody |
| | |
| | | return this.iSiteMessageService.del(id, request); |
| | | } |
| | | |
| | | //发送站内消息 |
| | | @RequestMapping({"sendMessage.do"}) |
| | | @ResponseBody |
| | | public ServerResponse sendMessage(@RequestParam(value = "userId", required = false) Integer userId, |
| | | @RequestParam("content") String content, |
| | | @RequestParam(value = "typeName", defaultValue = "站内消息") String typeName, |
| | | HttpServletRequest request) { |
| | | return this.iSiteMessageService.sendMessage(userId, content, typeName); |
| | | } |
| | | |
| | | |
| | | |
| | | |