改名
This commit is contained in:
@@ -89,7 +89,7 @@ class Request extends Application
|
|||||||
}
|
}
|
||||||
$server = Snowflake::app()->getSwoole();
|
$server = Snowflake::app()->getSwoole();
|
||||||
|
|
||||||
return $server->connection_info($this->fd);
|
return $server->getClientInfo($this->fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,13 @@ interface AuthIdentity
|
|||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public function getIdentity();
|
public function getIdentity();
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string|int
|
||||||
|
* 获取唯一识别码
|
||||||
|
*/
|
||||||
|
public function getUniqueId(): string|int;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user