移除 ConfigPageReqVO,简化理解成本

This commit is contained in:
YunaiV 2023-03-09 23:18:26 +08:00
parent 7540a4e2e7
commit f474e06b00

View File

@ -12,13 +12,6 @@ export interface ConfigVO {
createTime: Date createTime: Date
} }
export interface ConfigPageReqVO extends PageParam {
name?: string
key?: string
type?: number
createTime?: Date[]
}
export interface ConfigExportReqVO { export interface ConfigExportReqVO {
name?: string name?: string
key?: string key?: string
@ -27,7 +20,7 @@ export interface ConfigExportReqVO {
} }
// 查询参数列表 // 查询参数列表
export const getConfigPage = (params: ConfigPageReqVO) => { export const getConfigPage = (params: PageParam) => {
return request.get({ url: '/infra/config/page', params }) return request.get({ url: '/infra/config/page', params })
} }