From 7dbcb3b57f1c45b8880a45a564003dc91e7ae54c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E4=B8=BD=E5=90=9B?= <664953382@qq.com> Date: Wed, 18 Aug 2021 11:40:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=9C=8D=E8=81=8A=E5=A4=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/service.js | 7 +++++++ src/views/customerService.vue | 10 +++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/api/service.js b/src/api/service.js index 3144fcc..89c633b 100644 --- a/src/api/service.js +++ b/src/api/service.js @@ -15,3 +15,10 @@ export function sendMsg(data) { data }); } +// 消息改为已读 +export function readMsg(params) { + return request({ + url: '/chat/readMsg', + params + }); +} diff --git a/src/views/customerService.vue b/src/views/customerService.vue index df40816..22d4aaa 100644 --- a/src/views/customerService.vue +++ b/src/views/customerService.vue @@ -60,7 +60,7 @@