提交问题提示

This commit is contained in:
luyuan 2020-10-30 14:59:07 +08:00
parent e496c3e0b3
commit 7cfc371999
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -166,6 +166,11 @@ interface Liveaddrule{
export async function liveadd(data: any) {
const res = await post<Liveaddrule>('live',data);
console.log(res)
if(res.code==0){
message.success(res.msg)
}else{
message.error(res.msg)
}
}
/**
@ -196,7 +201,7 @@ export async function setvideo(data?: any) {
console.log(data,11110)
const res=await put<Liveaddrule>('video/'+data.id,data)
if(res.code==0){
message.success("修改成功")
message.success(res.msg)
}else{
message.error(res.msg)
}