1
This commit is contained in:
18
api/system/cache/model/index.ts
vendored
Normal file
18
api/system/cache/model/index.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import type { PageParam } from '@/api';
|
||||
|
||||
/**
|
||||
* 缓存管理
|
||||
*/
|
||||
export interface Cache {
|
||||
key?: string;
|
||||
content?: string;
|
||||
uploadMethod?: any;
|
||||
expireTime?: number; // 过期时间(秒)
|
||||
}
|
||||
|
||||
/**
|
||||
* 搜索条件
|
||||
*/
|
||||
export interface CacheParam extends PageParam {
|
||||
key?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user