发布视频

This commit is contained in:
2020-10-15 16:17:39 +08:00
parent f58ccbb11d
commit 9c0e6ffd39
4 changed files with 14 additions and 5 deletions

View File

@@ -176,10 +176,19 @@ export async function liveadd(data:any) {
/**
* 发布视频
*/
export async function videoadd(data:any) {
export async function videoadd( form: any,data: any) {
const res=await post<Liveaddrule>('video',data)
if(res.code==0){
message.success("发布成功")
form.value = {
title: "",
img: "",
fileid: "",
fileurl: "",
fileduration: "",
desc: "",
video:[""],
}
}
}