线上-bug修改

This commit is contained in:
2025-12-15 15:23:13 +08:00
parent 4ca0bbd84d
commit d9626c6a59

View File

@@ -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();