修改之后上传
This commit is contained in:
parent
244011e3e4
commit
7e576ce029
@ -795,6 +795,7 @@ interface LiveInfo {
|
||||
deleted_at: null;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
livestatus: number;
|
||||
}
|
||||
|
||||
interface StudentList {
|
||||
@ -946,12 +947,14 @@ export async function liveinfo(id: number): Promise<any>{
|
||||
dateline: liveinfo.dateline,
|
||||
livetime: liveinfo.livetime,
|
||||
livenumber: liveinfo.livenumber,
|
||||
desc: liveinfo.desc
|
||||
desc: liveinfo.desc,
|
||||
status: liveinfo.status
|
||||
}
|
||||
}
|
||||
|
||||
export async function setlive(data: any){
|
||||
data.status = data.livestatus;
|
||||
// data.status = data.livestatus;
|
||||
console.log(data)
|
||||
const info = await put("live/" + data.id, data)
|
||||
console.log(info.data)
|
||||
if(info.code==0){
|
||||
|
Loading…
Reference in New Issue
Block a user