更新新增三个模块

This commit is contained in:
super
2026-03-22 11:20:09 +08:00
parent c80e1889ef
commit 497d65d41d
96 changed files with 5393 additions and 588 deletions

View File

@@ -1,8 +1,13 @@
import { requestDeleteJson, requestGetJson, requestPostJson } from '@/shared/api/http'
export interface BrandExpandFolderItem {
absolutePath: string
relativePath: string
}
export interface BrandExpandFolderResponse {
success: boolean
paths?: string[]
items?: BrandExpandFolderItem[]
error?: string
}
@@ -39,7 +44,7 @@ export interface BrandTaskMutationResponse {
error?: string
}
const API_PREFIX = '/new'
const API_PREFIX = ''
export function getBrandTaskEventsUrl(taskId: string | number) {
return `${API_PREFIX}/api/brand/tasks/${taskId}/events`