feat: 完成 redis 增删改查

This commit is contained in:
ssongliu
2022-10-31 17:26:15 +08:00
committed by ssongliu
parent 0f136570fe
commit 37dee0dd81
21 changed files with 547 additions and 80 deletions

View File

@@ -102,4 +102,27 @@ export namespace Database {
operation: string;
value: string;
}
// redis
export interface SearchRedisWithPage extends ReqPage {
db: number;
}
export interface RedisData {
key: string;
value: string;
type: string;
length: number;
expiration: number;
}
export interface RedisDataSet {
db: number;
key: string;
value: string;
expiration: number;
}
export interface RedisDelBatch {
db: number;
names: Array<string>;
}
}