feat:首页和案例库功能
This commit is contained in:
68
src/types/case-library-api.ts
Normal file
68
src/types/case-library-api.ts
Normal file
@@ -0,0 +1,68 @@
|
||||
export interface CaseLibraryPageQuery {
|
||||
pageNum?: number
|
||||
pageSize?: number
|
||||
orderByColumn?: string
|
||||
isAsc?: string
|
||||
}
|
||||
|
||||
export interface CaseLibraryListQuery extends CaseLibraryPageQuery {
|
||||
keyword?: string
|
||||
businessType?: string
|
||||
industry?: string
|
||||
scaleMin?: number
|
||||
scaleMax?: number
|
||||
completedAtBegin?: string
|
||||
completedAtEnd?: string
|
||||
timeRange?: string
|
||||
}
|
||||
|
||||
export interface CaseLibraryFavoriteListQuery extends CaseLibraryPageQuery {
|
||||
pageNum: number
|
||||
pageSize: number
|
||||
}
|
||||
|
||||
export interface ProjectCaseAttachmentVo {
|
||||
id?: number | string
|
||||
projectId?: number | string
|
||||
ossId?: string
|
||||
originalName?: string
|
||||
fileSize?: string
|
||||
url?: string
|
||||
sortOrder?: number
|
||||
}
|
||||
|
||||
export interface ProjectCaseCatalogVo {
|
||||
id?: number | string
|
||||
projectId?: number | string
|
||||
title?: string
|
||||
content?: string
|
||||
sortOrder?: number
|
||||
}
|
||||
|
||||
export interface ProjectCaseVo {
|
||||
id: number | string
|
||||
caseNo?: string
|
||||
caseName?: string
|
||||
businessType?: string
|
||||
businessIndustry?: string
|
||||
industry?: string | null
|
||||
enabled?: number
|
||||
scale?: number | string
|
||||
previewCount?: number
|
||||
viewCount?: number
|
||||
favoriteCount?: number
|
||||
favorited?: boolean | null
|
||||
coverUrl?: string | null
|
||||
customerType?: string | null
|
||||
projectCycle?: string | number | null
|
||||
serviceTeam?: number | null
|
||||
completedAt?: string | null
|
||||
attachments?: ProjectCaseAttachmentVo[]
|
||||
catalogs?: ProjectCaseCatalogVo[]
|
||||
updateTime?: string | null
|
||||
}
|
||||
|
||||
export interface CaseLibraryPageResult {
|
||||
total: number
|
||||
rows: ProjectCaseVo[]
|
||||
}
|
||||
Reference in New Issue
Block a user