This commit is contained in:
2021-03-18 16:44:03 +08:00
parent 1457406f49
commit 5aad4e6613
+1 -1
View File
@@ -263,7 +263,7 @@ class Snowflake
*/ */
public static function localhost(): mixed public static function localhost(): mixed
{ {
return Snowflake::app()->getFirstLocal(); return current(swoole_get_local_ip());
} }