From 7fd712ef8154340e36f1c0d94114262320c0ab8d Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 2 Aug 2023 15:11:04 +0800 Subject: [PATCH] 1 --- webapp/services/callback/InAppPurchase.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webapp/services/callback/InAppPurchase.php b/webapp/services/callback/InAppPurchase.php index 28176ce3..e0d5cd30 100644 --- a/webapp/services/callback/InAppPurchase.php +++ b/webapp/services/callback/InAppPurchase.php @@ -133,6 +133,11 @@ class InAppPurchase { LogService::productDiamondCallback(['account_id' => $orderDb['account_id']], $event); $addItemService = new ShopAddItemService(); $addItemService->addItemByAccountId($orderDb['account_id'], $itemId, $itemNum); + myself()->_addLogEx($orderDb['account_id'], 'InAppPurchase', 'ok', + array( + $ordreDb['order_id'], + json_encode($orderDb) + )); } else { myself()->_addLogEx($orderDb['account_id'], 'InAppPurchase', 'error_goods_item_id', array(