修复失效问题
This commit is contained in:
parent
3217db4f75
commit
1156eec859
@ -182,6 +182,7 @@ class StoreCart extends BaseModel
|
|||||||
switch ($this->product_type)
|
switch ($this->product_type)
|
||||||
{
|
{
|
||||||
case 0: //普通商品
|
case 0: //普通商品
|
||||||
|
case 98://供应链商品
|
||||||
if ($this->product->product_type !== 0 || $this->product->is_show !== 1 || $this->productAttr->stock < $this->cart_num || $this->product->is_used !== 1) {
|
if ($this->product->product_type !== 0 || $this->product->is_show !== 1 || $this->productAttr->stock < $this->cart_num || $this->product->is_used !== 1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user