From 2ce1a309746420511298dafa70772293f57b9af7 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Tue, 7 May 2019 18:44:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A6=E6=88=B7=E5=85=85=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/plugins/wallet/service/PayService.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/application/plugins/wallet/service/PayService.php b/application/plugins/wallet/service/PayService.php index cf0b10945..2088799b3 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); -- GitLab