Commit 6c1092fe authored by jianghaiming's avatar jianghaiming

update:set

parent 9369864e
...@@ -625,6 +625,14 @@ class GoodsService ...@@ -625,6 +625,14 @@ class GoodsService
self::checkoutRuleTime($params["rule_start_time"], $params["rule_end_time"]); self::checkoutRuleTime($params["rule_start_time"], $params["rule_end_time"]);
} }
if ($params["price"] <= 0) {
throw new GoodsException(['cus' => 33]);
}
if ($params["price"] > 50000) {
throw new GoodsException(['cus' => 34]);
}
//门店 //门店
$subShopIdStr = $params["sub_shop_ids"];//逗号分割 $subShopIdStr = $params["sub_shop_ids"];//逗号分割
self::editDealSubShopList($subShopIdStr, $skuData["shop_id"], $goodsSkuId); self::editDealSubShopList($subShopIdStr, $skuData["shop_id"], $goodsSkuId);
......
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