作者 lyh

gx

... ... @@ -42,7 +42,7 @@ class ServerConfig extends Base
* @time :2023/9/12 16:05
*/
public function getUserAttribute($value){
return EncryptUtils::unlock_url($value);
return (new EncryptUtils())->unlock_url($value);
}
/**
... ... @@ -53,7 +53,7 @@ class ServerConfig extends Base
* @time :2023/9/12 16:05
*/
public function getPasswordAttribute($value){
return EncryptUtils::unlock_url($value);
return (new EncryptUtils())->unlock_url($value);
}
/**
... ... @@ -64,6 +64,6 @@ class ServerConfig extends Base
* @time :2023/9/12 16:05
*/
public function getPortAttribute($value){
return EncryptUtils::unlock_url($value);
return (new EncryptUtils())->unlock_url($value);
}
}
... ...