Merge branch 'star' of git.kingsome.cn:server/game2006api into star
This commit is contained in:
commit
67c009fe8c
@ -1041,6 +1041,8 @@ class ShopController extends BaseAuthedController
|
||||
return;
|
||||
}
|
||||
|
||||
error_log("buyGoodsDS start " . $address);
|
||||
|
||||
$idx = getReqVal('idx', 0);
|
||||
$grid = getReqVal('grid', 0);
|
||||
$count = getReqVal('count', 0);
|
||||
@ -1093,6 +1095,13 @@ class ShopController extends BaseAuthedController
|
||||
$item_id,
|
||||
$item_count
|
||||
);
|
||||
error_log("buyGoodsDS start " + json_encode(array(
|
||||
'idx' => $idx,
|
||||
'grid' => $grid,
|
||||
'count' => $count,
|
||||
'block_chain' => $response,
|
||||
)
|
||||
));
|
||||
|
||||
BcOrder::upsert($response['trans_id'], array(
|
||||
'item_id' => $item_id,
|
||||
@ -1106,6 +1115,14 @@ class ShopController extends BaseAuthedController
|
||||
)),
|
||||
));
|
||||
|
||||
error_log("buyGoodsDS start " + json_encode(array(
|
||||
'idx' => $idx,
|
||||
'grid' => $grid,
|
||||
'count' => $count,
|
||||
'block_chain' => $response,
|
||||
)
|
||||
));
|
||||
|
||||
$this->_rspData(
|
||||
array(
|
||||
'idx' => $idx,
|
||||
|
Loading…
x
Reference in New Issue
Block a user