资源管理页面微调
This commit is contained in:
@@ -9,6 +9,10 @@ export const addResourceManage = (params: FormData) => {
|
||||
return http.upload('/resourceManage/add', params)
|
||||
}
|
||||
|
||||
export const updateResourceManage = (params: ResourceManage.ReqUpdateResourceManage) => {
|
||||
return http.post('/resourceManage/update', params)
|
||||
}
|
||||
|
||||
export const getResourceManagePlayUrl = (id: string) => {
|
||||
return http.get<ResourceManage.PlayVO>(`/resourceManage/play?id=${id}`)
|
||||
}
|
||||
|
||||
@@ -22,6 +22,12 @@ export namespace ResourceManage {
|
||||
|
||||
export interface ResResourceManagePage extends ResPage<ResResourceManage> {}
|
||||
|
||||
export interface ReqUpdateResourceManage {
|
||||
id: string
|
||||
name: string
|
||||
remark: string
|
||||
}
|
||||
|
||||
export interface PlayVO {
|
||||
url: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user