Commit 2bb3fb8f authored by luhongguang's avatar luhongguang

Merge branch 'jielong' into test

parents 81a5eb6b 02fb6fe5
...@@ -1579,7 +1579,7 @@ class GoodsService ...@@ -1579,7 +1579,7 @@ class GoodsService
$goodsSku = GoodsSku::getRecord(["goods_sku_id" => $goodsSkuId]); $goodsSku = GoodsSku::getRecord(["goods_sku_id" => $goodsSkuId]);
} }
if (empty($goodsSku)) { if (empty($goodsSku)) {
throw new GoodsException(["cus" => 15]); return false;
} }
if (!empty($marketingId)) { if (!empty($marketingId)) {
...@@ -1620,7 +1620,7 @@ class GoodsService ...@@ -1620,7 +1620,7 @@ class GoodsService
); );
} }
return false; throw new GoodsException(["cus" => 44]);
} else { } else {
//同步到es //同步到es
if (empty($marketingId)) { if (empty($marketingId)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment