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 @@