You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
891 B
47 lines
891 B
import { PageParam } from '@/api';
|
|
|
|
/**
|
|
* 文件上传记录
|
|
*/
|
|
export interface FileRecord {
|
|
// id
|
|
id: number;
|
|
// 文件名称
|
|
name?: string;
|
|
// 文件存储路径
|
|
path?: string;
|
|
// 文件大小
|
|
length?: number;
|
|
// 文件类型
|
|
contentType?: string;
|
|
// 上传人id
|
|
createUserId?: number;
|
|
// 上传时间
|
|
createTime?: string;
|
|
// 描述
|
|
comments?: string;
|
|
// 文件访问地址
|
|
url?: string;
|
|
// 文件缩略图访问地址
|
|
thumbnail?: string;
|
|
// 文件下载地址
|
|
downloadUrl?: string;
|
|
// 上传人账号
|
|
createUsername?: string;
|
|
// 上传人名称
|
|
createNickname?: string;
|
|
}
|
|
|
|
/**
|
|
* 文件上传记录查询参数
|
|
*/
|
|
export interface FileRecordParam extends PageParam {
|
|
name?: string;
|
|
path?: string;
|
|
contentType?: string;
|
|
createNickname?: string;
|
|
count?: number;
|
|
page?: number;
|
|
// 商户编号
|
|
merchantCode?: string;
|
|
}
|