diff --git a/common/api/message.js b/common/api/message.js index ea068bb..53c7c3f 100644 --- a/common/api/message.js +++ b/common/api/message.js @@ -5,15 +5,13 @@ import config from '../js/config'; * 已读暂态 * @returns {*} */ -export function updateStatus(eventIds) { +export function updateStatus(params) { return request({ url: '/cs-harmonic-boot/eventUser/updateStatus', method: 'post', header: { 'Content-Type': 'application/json', }, - data: { - eventIds - }, + data: params, }) } diff --git a/components/Cn-device-card/Cn-device-card.vue b/components/Cn-device-card/Cn-device-card.vue index 6a22014..e095441 100644 --- a/components/Cn-device-card/Cn-device-card.vue +++ b/components/Cn-device-card/Cn-device-card.vue @@ -2,7 +2,7 @@