From 8c33b899bfaf9fbcde2879bac4c9e56754b27107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B?= <994041296@163.com> Date: Thu, 29 Dec 2022 18:19:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=EF=BC=8C=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/im.js | 8 +++ pages/mine/im/index.vue | 143 ++++++++++++++++++++++++++++++++-------- pages/mine/im/list.vue | 15 ++++- 3 files changed, 137 insertions(+), 29 deletions(-) diff --git a/api/im.js b/api/im.js index 5c74091..88b2690 100644 --- a/api/im.js +++ b/api/im.js @@ -71,4 +71,12 @@ export function jumpObtain(skuId, goodsId) { method: Method.GET, }); } +// 清除未读 +// /im/message/clean/unred +export function clearmeaager() { + return http.request({ + url: `${api.im}/message/clean/unred`, + method: Method.PUT, + }); +} diff --git a/pages/mine/im/index.vue b/pages/mine/im/index.vue index 5659748..2ec296f 100644 --- a/pages/mine/im/index.vue +++ b/pages/mine/im/index.vue @@ -1,5 +1,5 @@