钻石兑换金币

This commit is contained in:
2025-12-29 20:19:26 +08:00
parent 3cf0f68569
commit 48b217fce0
2 changed files with 2 additions and 3 deletions

View File

@@ -141,7 +141,6 @@ class UserWallet extends Model
];
$re = db::name('vs_user_money_log')->insertAll($account_log);
$re1 = db::name('user_wallet')->where('user_id',$uid)->setDec('earnings',$earnings_num);
sleep(5);
$re2 = db::name('user_wallet')->where('user_id',$uid)->setInc('coin',$earnings_num * $ear_exchange_coin);
if($re && $re1 && $re2){
db::commit();