mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 02:25:06 +08:00
perf: typo
This commit is contained in:
@ -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 })
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user