This commit is contained in:
songliang 2023-06-30 19:49:57 +08:00
parent 9ef8bcf61e
commit 2b8826c65b

View File

@ -1289,7 +1289,7 @@ class ShopController extends BaseAuthedController
}
$num = $box['item_num'];
if ($num <= 1) {
if ($num < 1) {
$this->_rspErr(2, 'num is invalid');
return;
}