6
0
Fork 0
release
panliang 2022-05-18 17:13:10 +08:00
parent 3005f25e1d
commit 9d156f4351
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class OrderPreController extends Controller
}
// 验证商品库存(店铺库存)
if ($store_product->pivot->amount < $quantity) {
if ($store_product->pivot->amount < $send) {
throw new BizException('店铺商品: ' . $store_product->name . ' 库存不足');
}