From 9017463ff0ef0a2b0ba2d2d62aa8e2c035564ebb Mon Sep 17 00:00:00 2001 From: azw Date: Sun, 30 Jul 2023 14:03:47 +0800 Subject: [PATCH] 1 --- webapp/services/callback/OutAppPurchase.php | 23 +-------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/webapp/services/callback/OutAppPurchase.php b/webapp/services/callback/OutAppPurchase.php index b042917f..a43aba32 100644 --- a/webapp/services/callback/OutAppPurchase.php +++ b/webapp/services/callback/OutAppPurchase.php @@ -20,7 +20,7 @@ class OutAppPurchase { public function process() { - error_log("buyGoodsDirect --- " . json_encode($_REQUEST)); + error_log("OutAppPurchase --- " . json_encode($_REQUEST)); // let repdata = { // account_id: string @@ -202,25 +202,4 @@ class OutAppPurchase { } } - private function _rspOk() - { - echo json_encode(array( - 'errcode' => 0, - 'errmsg' => "callback success", - )); - } - - private function _rspErr($errcode, $errmsg) - { - if (SERVER_ENV != _ONLINE) { - error_log(json_encode(array( - 'errcode' => $errcode, - 'errmsg' => $errmsg, - ))); - } - echo json_encode(array( - 'errcode' => $errcode, - 'errmsg' => $errmsg, - )); - } }