商品保存规格判断错误修复

feat/task1-c-wallet
gongfuxiang 2022-01-26 13:40:37 +08:00
parent cd6c7927e4
commit a190548c57
1 changed files with 0 additions and 4 deletions

View File

@ -1580,10 +1580,6 @@ class GoodsService
{
return DataReturn('请填写有效的规格销售价格', -1);
}
if(!isset($data[0][1]) || $data[0][1] < 0)
{
return DataReturn('请填写规格库存', -1);
}
}
} else {
return DataReturn('请填写规格', -1);