mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-09 02:46:46 +08:00
增加消息的一键处理接口
This commit is contained in:
@@ -42,11 +42,24 @@ const isRead=function(){
|
||||
const updateIsRead=function(ids){
|
||||
return ajax.postJson('/xboe/sys/message/updateIsRead',ids)
|
||||
}
|
||||
|
||||
/**把当前人所有未读消息设置为已读*/
|
||||
const readAll=function(){
|
||||
return ajax.postJson('/xboe/sys/message/readall')
|
||||
}
|
||||
|
||||
/**清空当前人的接收到的所有的消息*/
|
||||
const cleanAll=function(){
|
||||
return ajax.postJson('/xboe/sys/message/clearall')
|
||||
}
|
||||
|
||||
export default{
|
||||
list,
|
||||
del,
|
||||
detail,
|
||||
save,
|
||||
isRead,
|
||||
updateIsRead
|
||||
updateIsRead,
|
||||
readAll,
|
||||
cleanAll
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user