优化:Give_Gift 表查询处理

This commit is contained in:
2026-01-12 20:02:18 +08:00
parent 323c800751
commit 0447163694

View File

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