资源管理

This commit is contained in:
caozehui
2026-05-28 13:26:35 +08:00
parent 1202f64bfc
commit 0b26de20b9
6 changed files with 375 additions and 0 deletions

View 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}`)
}