@Controller @RequestMapping(value="manager/notice/") public class CoreTongzxxController extends BaseController
限定符和类型 | 字段和说明 |
---|---|
(专用程序包) CoreTongzxxService |
coreTongzxxService |
DOWNLOAD_ID_COOKIE_EXPIRY, DOWNLOAD_ID_NAME
构造器和说明 |
---|
CoreTongzxxController() |
限定符和类型 | 方法和说明 |
---|---|
RetVo |
addNotice(CoreTongzxx entity)
增加通知消息
注意: entity.TONGZNR,entity.TONGZXXBT,entity.XINGW 必须是base64编码后的字符串
|
RetVo |
setReadNotice(java.lang.String rwid)
设置消息的读取状态
|
commonsDownloadEx, commonsUploadEx, getUploadNewFileName, setResponseContentType, setResponseContentTypeAndStatus, setResponseHttpStatus, writeJsonToResponse
@Autowired CoreTongzxxService coreTongzxxService
@ResponseBody @RequestMapping(value="addNotice", method=POST) public RetVo addNotice(@RequestBody CoreTongzxx entity) throws java.lang.Exception
entity
- 消息实体java.lang.Exception
@ResponseBody @RequestMapping(value="setReadNotice", method=POST) public RetVo setReadNotice(@RequestParam(value="rwid") java.lang.String rwid) throws java.lang.Exception
rwid
- 消息rwidjava.lang.Exception