From a078726b54b8e93be51bc80f9a6d763acab8ba63 Mon Sep 17 00:00:00 2001 From: songliang Date: Mon, 19 Jun 2023 13:44:00 +0800 Subject: [PATCH] ... --- doc/Shop.py | 1 + webapp/controller/ShopController.class.php | 1 + 2 files changed, 2 insertions(+) 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');