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)] );