This commit is contained in:
2026-01-28 09:42:04 +08:00
parent 2eeee057f8
commit de6676895a
3 changed files with 15 additions and 11 deletions

View File

@@ -169,7 +169,7 @@ class Lottery extends Model
//不做处理
} else {//开奖
$beilv = floor($result['small_prize_amount'] / $gift_price);
$small_prize_amount = floor($result['small_prize_amount']);
$small_prize_amount = floor($result['small_prize_amount'] / $gift_price) * $gift_price;
$wallet_update = model('api/UserWallet')->change_user_cion_log($send_uid,$small_prize_amount,$room_id,58,'参与幸运币活动获得'.$beilv.'倍');
if(!$wallet_update){
return ['code' => 0, 'msg' => '流水记录失败', 'data' => null];