diff --git a/src/service/api/system/file/types.ts b/src/service/api/system/file/types.ts index 0fee1b7..9f70f5c 100644 --- a/src/service/api/system/file/types.ts +++ b/src/service/api/system/file/types.ts @@ -59,14 +59,12 @@ export interface FileUploadResult { // 文件服务类型枚举 export enum FileServiceType { LOCAL = 'LOCAL', // 本地存储 - MINIO = 'MINIO', // MinIO对象存储 OSS = 'OSS', // 阿里云对象存储 } // 文件服务类型映射(用于数据库存储) export const FileServiceTypeMapping = { LOCAL: '1', - MINIO: '2', OSS: '3', } as const @@ -97,13 +95,11 @@ export const FILE_TYPE_OPTIONS = [ // 文件服务类型选项 export const FILE_SERVICE_OPTIONS = [ { label: '本地存储', value: FileServiceType.LOCAL }, - { label: 'MinIO存储', value: FileServiceType.MINIO }, { label: '阿里云OSS', value: FileServiceType.OSS }, ] // 文件服务类型数据库值选项(用于搜索) export const FILE_SERVICE_DB_OPTIONS = [ { label: '本地存储', value: '1' }, - { label: 'MinIO存储', value: '2' }, { label: '阿里云OSS', value: '3' }, ] diff --git a/src/service/api/system/picture/types.ts b/src/service/api/system/picture/types.ts index 09329a9..9e59338 100644 --- a/src/service/api/system/picture/types.ts +++ b/src/service/api/system/picture/types.ts @@ -59,7 +59,6 @@ export interface PictureUploadResult { // 图片服务类型枚举 export enum PictureServiceType { LOCAL = '1', // 本地存储 - MINIO = '2', // MinIO对象存储 OSS = '3', // 阿里云对象存储 } @@ -90,6 +89,5 @@ export const PICTURE_TYPE_OPTIONS = [ // 图片服务类型选项 export const PICTURE_SERVICE_OPTIONS = [ { label: '本地存储', value: PictureServiceType.LOCAL }, - { label: 'MinIO存储', value: PictureServiceType.MINIO }, { label: '阿里云OSS', value: PictureServiceType.OSS }, ]