diff --git a/application/adminapi/controller/BlindBox.php b/application/adminapi/controller/BlindBox.php index fb3aa9ca..96ce1f30 100644 --- a/application/adminapi/controller/BlindBox.php +++ b/application/adminapi/controller/BlindBox.php @@ -450,10 +450,10 @@ class BlindBox extends adminApi $where['createtime'] = ['>=', strtotime($stime)]; } if($etime!==""){ - $where['createtime'] = ['<=', strtotime($etime.'23:59:59')]; + $where['createtime'] = ['<=', strtotime($etime)]; } if($stime!=="" && $etime!==""){ - $where['createtime'] = ['between', [strtotime($stime), strtotime($etime.'23:59:59')]]; + $where['createtime'] = ['between', [strtotime($stime), strtotime($etime)]]; } $count = db::name('vs_gift_bag_receive_log')->where($where)->count(); $lists_data = db::name('vs_gift_bag_receive_log')->where($where)->page($page, $page_limit)->order("id desc")->select();