...
This commit is contained in:
parent
2fbf4bec84
commit
1cb27a1c2a
@ -836,6 +836,11 @@ class ShopController extends BaseAuthedController
|
||||
$token_type = getReqVal('token_type', '');
|
||||
$goods_num = getReqVal('goods_num', 0);
|
||||
|
||||
if ($goods_num <= 1) {
|
||||
$this->_rspErr(1, "goods_num parameter error, goods_num: {$goods_num}");
|
||||
return;
|
||||
}
|
||||
|
||||
$row = mt\ShopGoods::get($id);
|
||||
|
||||
$goods_id = $row['goods_id'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user