mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 11:09:49 +08:00
资源视频编辑组件、视频预览组件
This commit is contained in:
@@ -62,6 +62,10 @@ export function destroyResourceMulti(ids: number[]) {
|
||||
});
|
||||
}
|
||||
|
||||
export function videoDetail(id: number) {
|
||||
return client.get(`/backend/v1/resource/${id}`, {});
|
||||
}
|
||||
|
||||
export function videoUpdate(id: number, params: any) {
|
||||
return client.put(`/backend/v1/resource/${id}`, params);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user