This commit is contained in:
2021-02-08 17:03:37 +08:00
parent 3653b37154
commit fdc05fbbc1
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ class Request extends Application
}
$server = Snowflake::app()->getSwoole();
return $server->connection_info($this->fd);
return $server->getClientInfo($this->fd);
}
+7 -1
View File
@@ -13,7 +13,13 @@ interface AuthIdentity
{
public function getIdentity();
/**
* @return string|int
* 获取唯一识别码
*/
public function getUniqueId(): string|int;
}