资源管理
This commit is contained in:
14
frontend/src/api/resourceManage/index.ts
Normal file
14
frontend/src/api/resourceManage/index.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import http from '@/api'
|
||||
import type { ResourceManage } from '@/api/resourceManage/interface'
|
||||
|
||||
export const getResourceManageList = (params: ResourceManage.ReqResourceManageParams) => {
|
||||
return http.post<ResourceManage.ResResourceManagePage>('/resourceManage/list', params)
|
||||
}
|
||||
|
||||
export const addResourceManage = (params: FormData) => {
|
||||
return http.upload('/resourceManage/add', params)
|
||||
}
|
||||
|
||||
export const getResourceManagePlayUrl = (id: string) => {
|
||||
return http.get<ResourceManage.PlayVO>(`/resourceManage/play?id=${id}`)
|
||||
}
|
||||
Reference in New Issue
Block a user