From bf322ccff2b81dba44608e664f62548a65f3d397 Mon Sep 17 00:00:00 2001 From: tping Date: Wed, 29 Jul 2020 14:58:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=82=E5=B8=B8=E5=85=85=E5=80=BC=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Callback/Controller/BaseController.class.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Application/Callback/Controller/BaseController.class.php b/Application/Callback/Controller/BaseController.class.php index d1c5597f..0d5b3814 100644 --- a/Application/Callback/Controller/BaseController.class.php +++ b/Application/Callback/Controller/BaseController.class.php @@ -114,6 +114,13 @@ class BaseController extends Controller { $this->rechargeAwardPoint($d['user_id'],$d['pay_amount']); // 当天累计充值 $this->payTodayTotal($d['pay_amount'], $d['pay_way']); + + $data_save['pay_status'] = 1; + $data_save['order_number'] = $data['trade_no']; + $data_save['payed_time'] = time(); + $map_s['pay_order_number'] = $data['out_trade_no']; + $r = $spend->where($map_s)->save($data_save); + return false; }