diff --git a/application/api/controller/ShopCar.php b/application/api/controller/ShopCar.php index a56281e..8370d02 100644 --- a/application/api/controller/ShopCar.php +++ b/application/api/controller/ShopCar.php @@ -152,7 +152,11 @@ class ShopCar extends Api $return['list'] = $listitem; $this->success('', $return); } - + public function ceshi() + { + $rr = $this->CalculateCommodityAmount(8, 78, 9); + print_r($rr); + } /** * @ApiTitle (购物车接口-购物车删除) diff --git a/application/common/controller/Api.php b/application/common/controller/Api.php index 03b24a4..6167e32 100644 --- a/application/common/controller/Api.php +++ b/application/common/controller/Api.php @@ -452,11 +452,6 @@ class Api return $list; } - public function ceshi() - { - $rr = $this->CalculateCommodityAmount(8, 78, 9); - print_r($rr); - } //购物车商品价格 function GenerateOrderPriceCalculation($product_id, $buy_num)