小黑屋心动值

This commit is contained in:
2026-01-09 09:10:53 +08:00
parent 7e6fdad0cf
commit ae8f35f54e

View File

@@ -213,6 +213,7 @@ class SendGift extends Model
//增加房间火热值hot_value
$gift_totalaa = $receive_gift_total * get_system_config_value('coin_charm_exp');
db::name('vs_room')->where(['id' => $p_room_id])->inc('hot_value', $gift_totalaa)->inc('today_hot_value', $gift_totalaa)->update();
db::name('vs_room')->where(['id' => $room_id])->inc('hot_value', $gift_totalaa)->inc('today_hot_value', $gift_totalaa)->update();
Db::commit();