* Fix error of 20 version.
This commit is contained in:
@@ -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)--------------------//
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user