mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 16:00:25 +08:00
fix: sql脚本默认账号密码调整&终端默认配色调整
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user