diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 5cbf5db4..7c343de0 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -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,