This commit is contained in:
songliang 2023-06-27 11:05:14 +08:00
parent 1cb27a1c2a
commit dd76be0e56

View File

@ -836,7 +836,7 @@ class ShopController extends BaseAuthedController
$token_type = getReqVal('token_type', '');
$goods_num = getReqVal('goods_num', 0);
if ($goods_num <= 1) {
if ($goods_num < 1) {
$this->_rspErr(1, "goods_num parameter error, goods_num: {$goods_num}");
return;
}