This commit is contained in:
aozhiwei 2023-08-02 15:11:04 +08:00
parent 22b8b1bac4
commit 7fd712ef81

View File

@ -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(