This commit is contained in:
aozhiwei 2023-08-29 18:45:00 +08:00
parent b5de471f98
commit 08a39a263e

View File

@ -7,6 +7,7 @@ class BaseController {
private $nowtime = 0; private $nowtime = 0;
private $marketDbConn = null; private $marketDbConn = null;
private $relationDbConn = null; private $relationDbConn = null;
private $timeOffset = 0;
function __construct() function __construct()
{ {
@ -27,7 +28,17 @@ class BaseController {
public function _getNowTime() public function _getNowTime()
{ {
return $this->nowtime; return $this->nowtime + $this->timeOffset;
}
public function _getTimeOffset()
{
return $this->timeOffset;
}
public function _setTimeOffset($seconds)
{
$this->timeOffset = seconds;
} }
public function _getTodayLeadStr() public function _getTodayLeadStr()