加幸运币统计字段-修改

This commit is contained in:
2025-12-22 10:00:36 +08:00
parent 1e69aa94a7
commit 88d21d0a6a
4 changed files with 4 additions and 2 deletions

View File

@@ -763,7 +763,7 @@ class Room extends adminApi
}
}
//幸运流水总计
$total_lucky_coin = db::name('vs_room_luck_value')->where('room_id',$room_id)->where($where)->sum('luck_value');
$total_lucky_coin = db::name('vs_room_luck_value')->alias('a')->where('room_id',$room_id)->where($where)->sum('luck_value');
$return_data = [
'page' =>$page,
'page_limit' => $page_limit,