消息系统

This commit is contained in:
wxd
2024-10-02 12:27:58 +08:00
parent 0a273a24dc
commit dc004824b5
7 changed files with 36 additions and 21 deletions

View File

@@ -111,10 +111,9 @@ export default defineComponent({
let setReadStatus = (value:any)=>{
return new Promise((resolve,reject)=>{
if(value.isRead == 1)return reject('')
let id = value.senderId?value.senderId:value.id
let data = {
type:accountMessage.activeKey,
notificationIdList:id
notificationIdList:value.id
}
Https.axiosPost(Https.httpUrls.setReadStatus,'',{params:data}).then((rv)=>{
if(rv){