mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-23 18:00:29 +08:00
Update Order.php
This commit is contained in:
parent
39d830de81
commit
21bbae095b
@ -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']) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user