直播添加标签
This commit is contained in:
@@ -6,6 +6,12 @@ const install = (Vue, vm) => {
|
||||
let api = {
|
||||
getLiveSpec(){
|
||||
return vm.$u.get("Streaming/getLiveSpec")
|
||||
},
|
||||
login({member_name,member_password}){
|
||||
return vm.$u.post("Login/login",{member_name,member_password})
|
||||
},
|
||||
createLivesp({spec_name}){
|
||||
return vm.$u.post("Streaming/createLivesp",{spec_name})
|
||||
}
|
||||
}
|
||||
// 将各个定义的接口名称,统一放进对象挂载到vm.$u.api(因为vm就是this,也即this.$u.api)下
|
||||
|
||||
Reference in New Issue
Block a user