bug修改

This commit is contained in:
2026-01-22 11:29:35 +08:00
parent d708741885
commit f304d233a6
4 changed files with 9 additions and 11 deletions

View File

@@ -447,9 +447,9 @@ class Guild extends adminApi
$rum_lists[$k]['charm_level']=$user_info['charm_level']??0;
$rum_lists[$k]['wealth_level']=$user_info['wealth_level']??0;
//用户流水
$consumption_sql = db::name('vs_user_money_log')
$consumption_sql = db::name('user_coin_log')
->whereIn('change_type',$coin_consumption_type_array)
->where(['money_type'=>1,'user_id' => $v['user_id']]);
->where(['user_id' => $v['user_id']]);
if($v['quit_type'] == 3){
$consumption_sql->where(['createtime'=>['<=',$v['delete_time']]]);
$consumption_sql->where(['createtime'=>['>=',$v['createtime']]]);