|
@@ -136,8 +136,8 @@ public class MsgAlarmController extends BaseController {
|
|
|
@ApiOperation(value = "web消息已读")
|
|
|
@Log(title = "报警信息管理", businessType = BusinessType.SELECT)
|
|
|
public AjaxResult read(@RequestBody MsgWebPush msgWebPush) {
|
|
|
- if (StringUtils.isEmpty(msgWebPush) || StringUtils.isEmpty(msgWebPush.getId())) {
|
|
|
- return AjaxResult.error("主键ID不能为空!");
|
|
|
+ if (StringUtils.isEmpty(msgWebPush) || StringUtils.isEmpty(msgWebPush.getPushId())) {
|
|
|
+ return AjaxResult.error("PushId不能为空!");
|
|
|
}
|
|
|
return toAjax(msgWebPushService.read(msgWebPush));
|
|
|
}
|