...
This commit is contained in:
parent
d46d156bdf
commit
8c342ed190
@ -1,6 +1,6 @@
|
||||
## 回调函数
|
||||
|
||||
1. ceg支付回调
|
||||
1.ceg支付回调
|
||||
|
||||
地址: <https://game2006api-test.kingsome.cn/webapp/index.php?c=Callback&a=dispatch&action=gameItemMallBuyOk>
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
2. 购买ceg回调
|
||||
2.购买ceg回调
|
||||
|
||||
地址: <https://game2006api-test.kingsome.cn/webapp/index.php?c=Callback&a=dispatch&action=ShopBuyGoodsDirect>
|
||||
|
||||
@ -70,7 +70,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
3. 内购回调
|
||||
3.内购回调
|
||||
|
||||
调用方: 内购服务(hongliang)
|
||||
|
||||
@ -118,7 +118,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
4. Market上架商品回调
|
||||
4.Market上架商品回调
|
||||
|
||||
地址: <https://game2006api-test.kingsome.cn/webapp/index.php?c=Callback&a=dispatch&action=MarketSellOrderOk>
|
||||
|
||||
@ -143,7 +143,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
5. Market下架商品回调
|
||||
5.Market下架商品回调
|
||||
|
||||
地址: <https://game2006api-test.kingsome.cn/webapp/index.php?c=Callback&a=dispatch&action=MarketCancelOrderOk>
|
||||
|
||||
@ -164,7 +164,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
6. Market更新商品价格回调
|
||||
6.Market更新商品价格回调
|
||||
|
||||
地址: <https://game2006api-test.kingsome.cn/webapp/index.php?c=Callback&a=dispatch&action=MarketPriceUpdateOrderOk>
|
||||
|
||||
@ -187,7 +187,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
7. Market购买商品回调
|
||||
7.Market购买商品回调
|
||||
|
||||
地址: <https://game2006api-test.kingsome.cn/webapp/index.php?c=Callback&a=dispatch&action=MarketBuyOrderOk>
|
||||
|
||||
@ -213,7 +213,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
8. Maket购买商品回调(仅支持金币)
|
||||
8.Maket购买商品回调(仅支持金币)
|
||||
|
||||
地址: <https://game2006api-test.kingsome.cn/webapp/index.php?c=Callback&a=dispatch&action=GameItemMarketBuyOk>
|
||||
|
||||
|
@ -52,7 +52,7 @@ class GameItemMarketBuyOk
|
||||
switch ($ext_data['mode']) {
|
||||
case MARKET_BUY_MODE_NORMAL: {
|
||||
$order = $orderDb;
|
||||
$itemService->addGameLog($order['address'], "shopBuyNormal", "begin", array(
|
||||
$itemService->addGameLog($order['address'], "marketBuyNormal", "begin", array(
|
||||
'param1' => $order['order_id'],
|
||||
'param2' => json_encode(array(
|
||||
'item_id' => $order['item_id'],
|
||||
@ -60,7 +60,7 @@ class GameItemMarketBuyOk
|
||||
)),
|
||||
));
|
||||
$this->buyFromMarket($order, $ext_data['idx']);
|
||||
$itemService->addGameLog($order['address'], "shopBuyNormal", "end", array(
|
||||
$itemService->addGameLog($order['address'], "marketBuyNormal", "end", array(
|
||||
'param1' => $order['order_id'],
|
||||
'param2' => json_encode(array(
|
||||
'item_id' => $order['item_id'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user