diff --git a/application/plugins/wallet/service/PayService.php b/application/plugins/wallet/service/PayService.php index cf0b10945a989a4180a52642e8a0f5fd5231f7d4..2088799b369ee623acbf2092ec5a22a34a9204ad 100644 --- a/application/plugins/wallet/service/PayService.php +++ b/application/plugins/wallet/service/PayService.php @@ -345,7 +345,7 @@ class PayService ); if(Db::name('PluginsWalletRecharge')->where(['id'=>$params['recharge']['id']])->update($upd_data)) { - $log_data = [ + /*$log_data = [ 'user_id' => $wallet['user_id'], 'wallet_id' => $wallet['id'], 'business_type' => 0, @@ -360,7 +360,8 @@ class PayService { Db::rollback(); return DataReturn('日志添加失败', -101); - } + }*/ + // 提交事务 Db::commit(); return DataReturn('支付成功', 0);