发布视频
This commit is contained in:
@@ -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:[""],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user