feat: 完成 mysql、redis 配置文件修改

This commit is contained in:
ssongliu
2022-11-02 18:30:22 +08:00
committed by ssongliu
parent b3bc8769b3
commit bfe2b95334
13 changed files with 357 additions and 206 deletions

View File

@@ -34,6 +34,10 @@ export namespace Database {
remoteConn: boolean;
mysqlKey: string;
}
export interface MysqlConfUpdateByFile {
mysqlName: string;
file: string;
}
export interface MysqlDBCreate {
name: string;
mysqlName: string;
@@ -106,10 +110,14 @@ export namespace Database {
// redis
export interface RedisConfUpdate {
redisName: string;
db: number;
paramName: string;
value: string;
timeout: string;
maxclients: string;
databases: string;
requirepass: string;
maxmemory: string;
}
export interface RedisConfUpdateByFile {
file: string;
}
export interface RedisStatus {
tcp_port: string;