Skip to content

Commit f474e06

Browse files
committed
移除 ConfigPageReqVO,简化理解成本
1 parent 7540a4e commit f474e06

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/api/infra/config/index.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ export interface ConfigVO {
1212
createTime: Date
1313
}
1414

15-
export interface ConfigPageReqVO extends PageParam {
16-
name?: string
17-
key?: string
18-
type?: number
19-
createTime?: Date[]
20-
}
21-
2215
export interface ConfigExportReqVO {
2316
name?: string
2417
key?: string
@@ -27,7 +20,7 @@ export interface ConfigExportReqVO {
2720
}
2821

2922
// 查询参数列表
30-
export const getConfigPage = (params: ConfigPageReqVO) => {
23+
export const getConfigPage = (params: PageParam) => {
3124
return request.get({ url: '/infra/config/page', params })
3225
}
3326

0 commit comments

Comments
 (0)