perf: typo

This commit is contained in:
xingyu
2022-11-29 23:23:33 +08:00
parent 4e860eb254
commit 3cfa787ede
16 changed files with 181 additions and 54 deletions

View File

@ -1,16 +1,16 @@
import request from '@/config/axios'
export interface ConfigType {
export interface FileClientConfig {
basePath: string
host: string
port: string
username: string
password: string
mode: string
endpoint: string
bucket: string
accessKey: string
accessSecret: string
host?: string
port?: number
username?: string
password?: string
mode?: string
endpoint?: string
bucket?: string
accessKey?: string
accessSecret?: string
domain: string
}
export interface FileConfigVO {
@ -19,13 +19,19 @@ export interface FileConfigVO {
storage: number
master: boolean
visible: boolean
config: ConfigType
config: FileClientConfig
remark: string
createTime: string
createTime: Date
}
export interface FileConfigPageReqVO extends PageParam {
name?: string
storage?: number
createTime?: Date[]
}
// 查询文件配置列表
export const getFileConfigPageApi = (params) => {
export const getFileConfigPageApi = (params: FileConfigPageReqVO) => {
return request.get({ url: '/infra/file-config/page', params })
}