From 8145fe9f8915fd8e9cf18e87108264e89752dd95 Mon Sep 17 00:00:00 2001 From: wangxinglong <2371974647@qq.com> Date: Thu, 9 Dec 2021 14:30:18 +0800 Subject: [PATCH] setter --- app/controller/api/Recharge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controller/api/Recharge.php b/app/controller/api/Recharge.php index 75fe07a..a78f8ec 100644 --- a/app/controller/api/Recharge.php +++ b/app/controller/api/Recharge.php @@ -109,13 +109,13 @@ class Recharge extends Base if ($message['return_code'] == 'SUCCESS') { // return_code 表示通信状态,不代表支付状态 if (isset($message['result_code']) && $message['result_code'] == 'SUCCESS') { - $this->log("订单支付成功开始数据操作"); + $this->log("开始数据操作"); Db::startTrans(); try { //这里确定支付成功 $total_fee = $message['total_fee'] / 100; //加余额 - $business->inc()->save([ + $business->save([ "balance" => ($business["balance"] + $total_fee), "total_recharge" => ($business["total_recharge"] + $total_fee)] );