|
|
@ -140,6 +140,11 @@ public class RetailAppController {
|
|
|
|
public JSONObject getNoticeId(@ModelAttribute(CommonConsts.RETAIL_DEVICE) JSONObject device, @PathVariable String noticeId) {
|
|
|
|
public JSONObject getNoticeId(@ModelAttribute(CommonConsts.RETAIL_DEVICE) JSONObject device, @PathVariable String noticeId) {
|
|
|
|
return retailAppService.getNoticeDetailById(device, noticeId);
|
|
|
|
return retailAppService.getNoticeDetailById(device, noticeId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value = "/notice/unread", method = RequestMethod.GET)
|
|
|
|
|
|
|
|
public List<JSONObject> latestNotice(@ModelAttribute(CommonConsts.RETAIL_DEVICE) JSONObject device) {
|
|
|
|
|
|
|
|
return retailAppService.getLatestNotice(device.getIntValue("client_id"));
|
|
|
|
|
|
|
|
}
|
|
|
|
/* 消息模块end */
|
|
|
|
/* 消息模块end */
|
|
|
|
|
|
|
|
|
|
|
|
/* 我的页面begin */
|
|
|
|
/* 我的页面begin */
|
|
|
|