Commit 9988423e by fudahua

feat:返回格式

parent 7cfc5786
...@@ -148,9 +148,9 @@ public class NotifyController extends WebBaseController { ...@@ -148,9 +148,9 @@ public class NotifyController extends WebBaseController {
* @return * @return
*/ */
@RequestMapping("/message/all-read") @RequestMapping("/message/all-read")
public HaobanResponse readAll(@RequestBody @Valid MessageListQO qo) { public RestResponse readAll(@RequestBody @Valid MessageListQO qo) {
noticeMessageService.updateWriteFlagByClerkId(qo.getEnterpriseId(), qo.getClerkId(), qo.getCategoryType()); noticeMessageService.updateWriteFlagByClerkId(qo.getEnterpriseId(), qo.getClerkId(), qo.getCategoryType());
return resultResponse(HaoBanErrCode.ERR_1); return RestResponse.successResult();
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment