diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index 38da5abc..9dfd61c6 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -99,7 +99,6 @@ class ShopController extends BaseAuthedController { switch($token_type) { case ShopController::TOKEN_TYPE_CEG: - echo "token type: {$token_type} {$need_price} {$discount} {$this->_getAccountId()}"; $costItems = $this->makeCostItems($costItemId, $goods_num*$need_price); $lackItem = null; if (!$this->_hasEnoughItems($costItems, $lackItem)) { @@ -158,16 +157,6 @@ class ShopController extends BaseAuthedController { default: $this->_rspErr(1, "token_type is unsupport, {$token_type}"); } - - - $this->_rspData(array( - 'id' => $id, - 'token_type' => $token_type, - 'num' => $goods_num, - 'row' => $row ? $row : array(), - 'check_token_type' => in_array($token_type, $check_token_type), - 'token_pos' => $token_pos, - )); } private function getCostItemIdByTokenType($token_type)