更新库存
This commit is contained in:
parent
878219bd7c
commit
fad5f44664
@ -96,7 +96,7 @@ class StoreProduct extends BaseController
|
|||||||
}else{
|
}else{
|
||||||
$product_type=0;//普通商品
|
$product_type=0;//普通商品
|
||||||
}
|
}
|
||||||
// $productId = $this->repository->create($data, $product_type, 1);
|
$productId = $this->repository->create($data, $product_type, 1);
|
||||||
// $unique = Db::name('store_product_attr_value')->where('product_id', $productId)->value('unique');
|
// $unique = Db::name('store_product_attr_value')->where('product_id', $productId)->value('unique');
|
||||||
// if (!empty($unique) && $stockNum > 0) {
|
// if (!empty($unique) && $stockNum > 0) {
|
||||||
// $this->repository->stockIn($merId, [
|
// $this->repository->stockIn($merId, [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user