This commit is contained in:
songliang 2023-06-19 13:44:00 +08:00
parent 37ce1e9a90
commit a078726b54
2 changed files with 2 additions and 0 deletions

View File

@ -167,6 +167,7 @@ class Shop(object):
'response': [ 'response': [
_common.RspHead(), _common.RspHead(),
['idx', 0, '每日精选的索引'], ['idx', 0, '每日精选的索引'],
['cost', 0, '每日精选的当前刷新价格'],
['!goods_list', [_common.DailySelectionGoods()], '每日精选列表'], ['!goods_list', [_common.DailySelectionGoods()], '每日精选列表'],
] ]
}, },

View File

@ -788,6 +788,7 @@ class ShopController extends BaseAuthedController
$grid = getReqVal('grid', 0); $grid = getReqVal('grid', 0);
$count = getReqVal('count', 0); $count = getReqVal('count', 0);
$address = $this->_getAddress();
// $chk = $this->decDailySelectionItem($idx, $grid, $count); // $chk = $this->decDailySelectionItem($idx, $grid, $count);
// if (!$chk) { // if (!$chk) {
// $this->_rspErr(1, 'goods not enough'); // $this->_rspErr(1, 'goods not enough');