直播需要修改接口

This commit is contained in:
2020-07-21 19:50:26 +08:00
parent d04146d479
commit 9838aab5f4
4 changed files with 22 additions and 5 deletions

View File

@@ -15,6 +15,9 @@ const install = (Vue, vm) => {
},
getStoreGoodsList(){
return vm.$u.post("article/getStoreGoodsList")
},
createChatRoom({chat_name,live_desc,spec,goods_id,cover_img}){
return vm.$u.post("Streaming/createChatRoom",{chat_name,live_desc,spec,goods_id,cover_img})
}
}
// 将各个定义的接口名称统一放进对象挂载到vm.$u.api(因为vm就是this也即this.$u.api)下