Merge remote-tracking branch 'origin/ruoyi' into ruoyi

This commit is contained in:
xlsea
2025-04-25 00:28:58 +08:00
17 changed files with 471 additions and 99 deletions

View File

@ -612,5 +612,32 @@ declare namespace Api {
| 'wechat_mp'
| 'wechat_enterprise'
| 'gitlab';
/** oss */
type Oss = Common.CommonRecord<{
/** 对象存储主键 */
ossId: CommonType.IdType;
/** 租户编号 */
tenantId: CommonType.IdType;
/** 文件名 */
fileName: string;
/** 原名 */
originalName: string;
/** 后缀名 */
fileSuffix: string;
/** 文件预览 */
url: string;
/** 服务商 */
service: string;
/** 创建者 */
createByName: string;
}>;
/** oss search params */
type OssSearchParams = CommonType.RecordNullable<
Pick<Api.System.Oss, 'fileName' | 'originalName' | 'fileSuffix' | 'service'> & Api.Common.CommonSearchParams
>;
/** oss list */
type OssList = Api.Common.PaginatingQueryRecord<Oss>;
}
}

View File

@ -36,6 +36,7 @@ declare module "@elegant-router/types" {
"system_dict_type": "/system/dict/type";
"system_menu": "/system/menu";
"system_notice": "/system/notice";
"system_oss": "/system/oss";
"system_post": "/system/post";
"system_tenant": "/system/tenant";
"system_user": "/system/user";
@ -115,6 +116,7 @@ declare module "@elegant-router/types" {
| "system_dict_type"
| "system_menu"
| "system_notice"
| "system_oss"
| "system_post"
| "system_tenant"
| "system_user"