修复错误
This commit is contained in:
parent
d6c26f5d30
commit
94dcd14a3a
@ -49,8 +49,8 @@ class AccountLogLists extends BaseApiDataLists
|
|||||||
// 变动时间
|
// 变动时间
|
||||||
if (!empty($this->params['time'])) {
|
if (!empty($this->params['time'])) {
|
||||||
$date= strtotime($this->params['time']);
|
$date= strtotime($this->params['time']);
|
||||||
$startTime = strtotime($date) - 3600; // 获取该日期零点的时间戳
|
$startTime = $date - 3600; // 获取该日期零点的时间戳
|
||||||
$endTime = strtotime($date) + 86400; // 获取该日期24小时后的时间戳
|
$endTime = $date + 86400; // 获取该日期24小时后的时间戳
|
||||||
$where[] = ['create_time', 'between time',[$startTime, $endTime]];
|
$where[] = ['create_time', 'between time',[$startTime, $endTime]];
|
||||||
}
|
}
|
||||||
return $where;
|
return $where;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user