更新新增三个模块
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user