From 03dbb30f5c19277d5140129afb048d839602d0c4 Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Mon, 2 Sep 2024 16:35:18 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=8E=92=E9=98=9F=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/Billions.php | 2 +- app/common/logic/PayNotifyLogic.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/controller/Billions.php b/app/api/controller/Billions.php index 1cc5f68c..b3a324ae 100755 --- a/app/api/controller/Billions.php +++ b/app/api/controller/Billions.php @@ -76,7 +76,7 @@ class Billions extends Api */ public function rechargeBalance() { - $result = PayNotifyLogic::recharge(11,22); + $result = PayNotifyLogic::handle('recharge', 11, 22); // $post = $this->request->post(); // $result = BillionsLogic::applyBillionsBalance($this->user_id, $post); diff --git a/app/common/logic/PayNotifyLogic.php b/app/common/logic/PayNotifyLogic.php index a993ae89..a3b82d16 100755 --- a/app/common/logic/PayNotifyLogic.php +++ b/app/common/logic/PayNotifyLogic.php @@ -372,7 +372,7 @@ class PayNotifyLogic * @author suny * @date 2021/7/13 6:33 下午 */ - public function recharge($order_sn, $extra = []) + private static function recharge($order_sn, $extra = []) { $order['order_amount'] = 100; self::recharge_billions($order, 196);