素材库优化

This commit is contained in:
none
2023-03-06 10:14:04 +08:00
parent feda1feb95
commit a20c1c6090
7 changed files with 6 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ export function resourceList(
sortField: string,
sortAlgo: string,
name: string,
type: string,
categoryIds: string
) {
return client.get("/backend/v1/resource/index", {
@@ -23,6 +24,7 @@ export function createResource(type: string) {
}
export function storeResource(
type: string,
categoryId: number,
name: string,
extension: string,