通知和提示

This commit is contained in:
2020-08-28 14:51:35 +08:00
parent 40e252c400
commit 1305931e3b
7 changed files with 134 additions and 17 deletions

View File

@@ -132,9 +132,18 @@ const install = (Vue, vm) => {
// 试穿
agreetest({goods_try_id,type,takeawayer_id}){
return vm.$u.post("/order/goodsTryAgree",{goods_try_id,type,takeawayer_id})
},
messageList({page = 1}){
return vm.$u.post("/message/messageList",{page})
},
isread(){
return vm.$u.post("/message/isread")
},
messageInfo(){
return vm.$u.post("/message/messageInfo")
}
}
// 将各个定义的接口名称统一放进对象挂载到vm.$u.api(因为vm就是this也即this.$u.api)下
vm.$u.api = api;