Commit 02fb6fe5 authored by luhongguang's avatar luhongguang

update: 回调函数调整

parent b80360db
......@@ -1580,7 +1580,7 @@ class GoodsService
$goodsSku = GoodsSku::getRecord(["goods_sku_id" => $goodsSkuId]);
}
if (empty($goodsSku)) {
throw new GoodsException(["cus" => 15]);
return false;
}
if (!empty($marketingId)) {
......@@ -1621,7 +1621,7 @@ class GoodsService
);
}
return false;
throw new GoodsException(["cus" => 44]);
} else {
//同步到es
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