瀏覽代碼

移除 ConfigPageReqVO,简化理解成本

YunaiV 2 年之前
父節點
當前提交
f474e06b00
共有 1 個文件被更改,包括 1 次插入8 次删除
  1. 1 8
      src/api/infra/config/index.ts

+ 1 - 8
src/api/infra/config/index.ts

@@ -12,13 +12,6 @@ export interface ConfigVO {
   createTime: Date
 }
 
-export interface ConfigPageReqVO extends PageParam {
-  name?: string
-  key?: string
-  type?: number
-  createTime?: Date[]
-}
-
 export interface ConfigExportReqVO {
   name?: 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 })
 }