1
This commit is contained in:
54
api/system/file/model/index.ts
Normal file
54
api/system/file/model/index.ts
Normal file
@@ -0,0 +1,54 @@
|
||||
import { PageParam } from '@/api';
|
||||
|
||||
/**
|
||||
* 文件上传记录
|
||||
*/
|
||||
export interface FileRecord {
|
||||
// id
|
||||
id: number;
|
||||
// 文件名称
|
||||
name?: string;
|
||||
// 文件存储路径
|
||||
path?: string;
|
||||
// 文件大小
|
||||
length?: number;
|
||||
// 文件类型
|
||||
contentType?: string;
|
||||
// 上传人id
|
||||
createUserId?: number;
|
||||
// 分组ID
|
||||
groupId?: number;
|
||||
groupName?: string;
|
||||
// 上传时间
|
||||
createTime?: string;
|
||||
// 描述
|
||||
comments?: string;
|
||||
// 文件访问地址
|
||||
url?: string;
|
||||
// 文件缩略图访问地址
|
||||
thumbnail?: string;
|
||||
// 文件下载地址
|
||||
downloadUrl?: string;
|
||||
// 上传人账号
|
||||
createUsername?: string;
|
||||
// 上传人名称
|
||||
createNickname?: string;
|
||||
// 是否编辑状态
|
||||
isUpdate?: boolean;
|
||||
// 商品SKU索引
|
||||
index?: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* 文件上传记录查询参数
|
||||
*/
|
||||
export interface FileRecordParam extends PageParam {
|
||||
name?: string;
|
||||
path?: string;
|
||||
contentType?: string;
|
||||
createNickname?: string;
|
||||
groupId?: number;
|
||||
groupName?: string;
|
||||
count?: number;
|
||||
page?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user