改名
This commit is contained in:
@@ -304,7 +304,7 @@ class ServerManager extends Abstracts\Server
|
||||
return;
|
||||
}
|
||||
|
||||
exec('kill -15 ' . $pid, $execResult);
|
||||
exec('kill ' . $pid, $execResult);
|
||||
while ($this->portIsAready($port)) {
|
||||
usleep(100);
|
||||
}
|
||||
|
||||
+3
-3
@@ -134,7 +134,7 @@ mlAZUEjsoaT9vjvjGTxl3uCm0TX5KTgtSJIt2kA1tYVjQef+/iZTHxY=
|
||||
$this->user = $unionId;
|
||||
$this->config['time'] = time();
|
||||
if (empty($headers)) {
|
||||
$headers = request()->headers->getHeaders();
|
||||
$headers = request()->getHeaders();
|
||||
} else if ($headers instanceof HttpHeaders) {
|
||||
$headers = $headers->getHeaders();
|
||||
}
|
||||
@@ -397,7 +397,7 @@ mlAZUEjsoaT9vjvjGTxl3uCm0TX5KTgtSJIt2kA1tYVjQef+/iZTHxY=
|
||||
*/
|
||||
public function getCurrentOnlineUser(): int
|
||||
{
|
||||
$this->data = request()->headers->getHeaders();
|
||||
$this->data = request()->getHeaders();
|
||||
|
||||
return $this->loadByCache();
|
||||
}
|
||||
@@ -452,7 +452,7 @@ mlAZUEjsoaT9vjvjGTxl3uCm0TX5KTgtSJIt2kA1tYVjQef+/iZTHxY=
|
||||
{
|
||||
$instance = Snowflake::app()->getJwt();
|
||||
if (empty($header)) {
|
||||
$header = request()->headers->getHeaders();
|
||||
$header = request()->getHeaders();
|
||||
}
|
||||
|
||||
$instance->data = $header;
|
||||
|
||||
Reference in New Issue
Block a user