房间火热值

This commit is contained in:
2025-08-11 17:49:11 +08:00
parent 93d75a4ef3
commit d2baceadea
5 changed files with 8 additions and 7 deletions

View File

@@ -505,6 +505,7 @@ class GiveGift extends Model
//增加房间火热值hot_value
$gift_totalaa = $gift_total * get_system_config_value('coin_charm_exp');
Db::name('vs_room')->where(['id'=>$from_id,'apply_status'=>2])->setInc('hot_value',$gift_totalaa);
Db::name('vs_room')->where(['id'=>$from_id,'apply_status'=>2])->setInc('today_hot_value',$gift_totalaa);
Db::commit();
return ['code' => 1, 'msg' => '送礼成功', 'data' => null];