优化:Give_Gift 表查询处理
This commit is contained in:
@@ -131,10 +131,9 @@ class Statistical extends adminApi
|
||||
strtotime($end_time)
|
||||
);
|
||||
if(empty($tables)){
|
||||
$tables = "fa_vs_give_gift";
|
||||
$tables[0] = "fa_vs_give_gift";
|
||||
}
|
||||
$table_name = substr($tables[0], 3);//截取可查询的表名
|
||||
|
||||
$count = db::name($table_name)
|
||||
->where($where)
|
||||
->group($group)
|
||||
|
||||
Reference in New Issue
Block a user