1
This commit is contained in:
parent
22b8b1bac4
commit
7fd712ef81
@ -133,6 +133,11 @@ class InAppPurchase {
|
|||||||
LogService::productDiamondCallback(['account_id' => $orderDb['account_id']], $event);
|
LogService::productDiamondCallback(['account_id' => $orderDb['account_id']], $event);
|
||||||
$addItemService = new ShopAddItemService();
|
$addItemService = new ShopAddItemService();
|
||||||
$addItemService->addItemByAccountId($orderDb['account_id'], $itemId, $itemNum);
|
$addItemService->addItemByAccountId($orderDb['account_id'], $itemId, $itemNum);
|
||||||
|
myself()->_addLogEx($orderDb['account_id'], 'InAppPurchase', 'ok',
|
||||||
|
array(
|
||||||
|
$ordreDb['order_id'],
|
||||||
|
json_encode($orderDb)
|
||||||
|
));
|
||||||
} else {
|
} else {
|
||||||
myself()->_addLogEx($orderDb['account_id'], 'InAppPurchase', 'error_goods_item_id',
|
myself()->_addLogEx($orderDb['account_id'], 'InAppPurchase', 'error_goods_item_id',
|
||||||
array(
|
array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user