作者 lyh

gx

@@ -42,7 +42,7 @@ class ServerConfig extends Base @@ -42,7 +42,7 @@ class ServerConfig extends Base
42 * @time :2023/9/12 16:05 42 * @time :2023/9/12 16:05
43 */ 43 */
44 public function getUserAttribute($value){ 44 public function getUserAttribute($value){
45 - return EncryptUtils::unlock_url($value); 45 + return (new EncryptUtils())->unlock_url($value);
46 } 46 }
47 47
48 /** 48 /**
@@ -53,7 +53,7 @@ class ServerConfig extends Base @@ -53,7 +53,7 @@ class ServerConfig extends Base
53 * @time :2023/9/12 16:05 53 * @time :2023/9/12 16:05
54 */ 54 */
55 public function getPasswordAttribute($value){ 55 public function getPasswordAttribute($value){
56 - return EncryptUtils::unlock_url($value); 56 + return (new EncryptUtils())->unlock_url($value);
57 } 57 }
58 58
59 /** 59 /**
@@ -64,6 +64,6 @@ class ServerConfig extends Base @@ -64,6 +64,6 @@ class ServerConfig extends Base
64 * @time :2023/9/12 16:05 64 * @time :2023/9/12 16:05
65 */ 65 */
66 public function getPortAttribute($value){ 66 public function getPortAttribute($value){
67 - return EncryptUtils::unlock_url($value); 67 + return (new EncryptUtils())->unlock_url($value);
68 } 68 }
69 } 69 }