* Fix error of 20 version.

This commit is contained in:
zhaoke
2023-07-31 15:03:44 +08:00
parent a22d627c0d
commit be9a3ba41f
6 changed files with 35 additions and 5 deletions
+21
View File
@@ -347,6 +347,14 @@ class baseRouter
*/
public $sessionID;
/**
* 请求开始时间。
* The start time of the request.
*
* @var float
*/
public $startTime;
/**
* 网站代号。
* The code of current site.
@@ -444,6 +452,19 @@ class baseRouter
return new $className($appName, $appRoot);
}
/**
* 设置请求开始时间。
* The start time of the request.
*
* @param float $startTime
* @access public
* @return void
*/
public function setStartTime(float $startTime)
{
$this->startTime = $startTime;
}
//-------------------- 路径相关方法(Path related methods)--------------------//
/**