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