Commit 6dd1fb00 authored by luhongguang's avatar luhongguang

Merge branch 'test' of https://git.yidian-inc.com:8021/bp/goods into test

parents a548e507 807db39c
......@@ -625,6 +625,14 @@ class GoodsService
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"];//逗号分割
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