| | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.commons.compress.utils.Lists; |
| | | import org.apache.shiro.SecurityUtils; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.common.aspect.annotation.AutoLog; |
| | | import org.jeecg.common.constant.CommonConstant; |
| | | import org.jeecg.common.constant.DataBaseConstant; |
| | | import org.jeecg.common.constant.WebsocketConst; |
| | |
| | | import org.jeecg.modules.system.entity.*; |
| | | import org.jeecg.modules.system.model.AnnouncementSendModel; |
| | | import org.jeecg.modules.system.service.*; |
| | | import org.jeecg.modules.system.vo.OptionsVo; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | } |
| | | |
| | | /** |
| | | * @功能:获取消息类型下拉 |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "获取消息类型下拉") |
| | | @ApiOperation(value = "获取消息类型下拉", notes = "获取消息类型下拉") |
| | | @GetMapping(value = "/getMessageType") |
| | | public Result<List<OptionsVo>> getMessageType() { |
| | | List<OptionsVo> result = sysAnnouncementSendService.getMessageType(); |
| | | return Result.OK(result); |
| | | } |
| | | |
| | | /** |
| | | * @功能:一键已读 |
| | | * @return |
| | | */ |