爆币
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user