加幸运币统计字段-前端加幸运值统计
This commit is contained in:
@@ -144,6 +144,7 @@ class Room extends GuildAdmin
|
|||||||
$total_consumption += $rum_lists[$k]['consumption'];
|
$total_consumption += $rum_lists[$k]['consumption'];
|
||||||
|
|
||||||
//幸运币统计
|
//幸运币统计
|
||||||
|
$where_lucky = [];
|
||||||
if($search_stime !== ''){
|
if($search_stime !== ''){
|
||||||
$where_lucky['createtime'] = ['>=', strtotime($search_stime)];
|
$where_lucky['createtime'] = ['>=', strtotime($search_stime)];
|
||||||
}
|
}
|
||||||
@@ -167,6 +168,7 @@ class Room extends GuildAdmin
|
|||||||
//分页
|
//分页
|
||||||
$rum_lists = array_slice($rum_lists, ($page-1)*$page_limit, $page_limit);
|
$rum_lists = array_slice($rum_lists, ($page-1)*$page_limit, $page_limit);
|
||||||
//幸运币统计
|
//幸运币统计
|
||||||
|
$where_lucky = [];
|
||||||
if($search_stime !== ''){
|
if($search_stime !== ''){
|
||||||
$where_lucky['createtime'] = ['>=', strtotime($search_stime)];
|
$where_lucky['createtime'] = ['>=', strtotime($search_stime)];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user