定版之后bug修改
This commit is contained in:
@@ -871,7 +871,9 @@ class BlindBox extends adminApi
|
|||||||
}
|
}
|
||||||
//今日锁定礼物数量
|
//今日锁定礼物数量
|
||||||
$today = strtotime(date('Y-m-d'));
|
$today = strtotime(date('Y-m-d'));
|
||||||
$locking_num = db::name('vs_room_pan_xlh_log')->where('createtime','>=',$today)->count();
|
$locking_num = db::name('vs_room_pan_xlh_log')->alias('a')
|
||||||
|
->join('vs_room_pan_xlh b', 'a.xlh_id = b.id')
|
||||||
|
->where('a.createtime','>=',$today)->where(['a.is_send'=>1,'b.room_id'=>$room_id])->sum('a.num');
|
||||||
$return_data = [
|
$return_data = [
|
||||||
'page' =>$page,
|
'page' =>$page,
|
||||||
'page_limit' => $page_limit,
|
'page_limit' => $page_limit,
|
||||||
|
|||||||
Reference in New Issue
Block a user