mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
commit
ece08b4a22
@ -20,7 +20,7 @@ class Goods
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'data' => [
|
'data' => [
|
||||||
'stock' => $quantity,
|
'stock' => max($quantity, 0),
|
||||||
'business_sku_id' => $businessGoods['sku_id'],
|
'business_sku_id' => $businessGoods['sku_id'],
|
||||||
'business_goods_id' => $businessGoods['goods_id'],
|
'business_goods_id' => $businessGoods['goods_id'],
|
||||||
'erp_shop_id' => $shopId,
|
'erp_shop_id' => $shopId,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user