Files
template-10490/api/system/cache/model/index.ts
2025-01-27 23:24:42 +08:00

19 lines
285 B
TypeScript

import type { PageParam } from '@/api';
/**
* 缓存管理
*/
export interface Cache {
key?: string;
content?: string;
uploadMethod?: any;
expireTime?: number; // 过期时间(秒)
}
/**
* 搜索条件
*/
export interface CacheParam extends PageParam {
key?: string;
}