Update Order.php

This commit is contained in:
邹景立 2021-02-23 16:44:52 +08:00
parent 39d830de81
commit 21bbae095b

View File

@ -84,7 +84,7 @@ class Order extends Auth
} }
// 限制购买身份 // 限制购买身份
if ($goodsInfo['limit_low_vip'] > $this->user['vip_number']) { if ($goodsInfo['limit_low_vip'] > $this->user['vip_number']) {
$this->error('会员等级不够'); $this->error('用户等级不够');
} }
// 商品库存检查 // 商品库存检查
if ($goodsItem['stock_sales'] + $count > $goodsItem['stock_total']) { if ($goodsItem['stock_sales'] + $count > $goodsItem['stock_total']) {