diff --git a/doc/Shop.py b/doc/Shop.py index 4d0856ec..7b36f76f 100644 --- a/doc/Shop.py +++ b/doc/Shop.py @@ -167,6 +167,7 @@ class Shop(object): 'response': [ _common.RspHead(), ['idx', 0, '每日精选的索引'], + ['cost', 0, '每日精选的当前刷新价格'], ['!goods_list', [_common.DailySelectionGoods()], '每日精选列表'], ] }, diff --git a/webapp/controller/ShopController.class.php b/webapp/controller/ShopController.class.php index d71a8adf..23eb8e97 100644 --- a/webapp/controller/ShopController.class.php +++ b/webapp/controller/ShopController.class.php @@ -788,6 +788,7 @@ class ShopController extends BaseAuthedController $grid = getReqVal('grid', 0); $count = getReqVal('count', 0); + $address = $this->_getAddress(); // $chk = $this->decDailySelectionItem($idx, $grid, $count); // if (!$chk) { // $this->_rspErr(1, 'goods not enough');