fix: sql脚本默认账号密码调整&终端默认配色调整

This commit is contained in:
meilin.huang
2022-08-04 20:47:13 +08:00
parent 12f8cf0111
commit e1afb1ed54
6 changed files with 47 additions and 13 deletions

View File

@@ -21,6 +21,9 @@ func PwdAesEncrypt(password string) string {
// 使用config.yml的aes.key进行密码解密
func PwdAesDecrypt(encryptPwd string) string {
if encryptPwd == "" {
return ""
}
aes := config.Conf.Aes
if aes == nil {
return encryptPwd