Commit c1e024dc authored by jianghaiming's avatar jianghaiming

update:修改文案

parent 0c301941
......@@ -65,6 +65,6 @@ class GoodsException extends BaseException
46 => '已经执行过cancel',
47 => 'sku rollback error',
48 => '请满足以下条件后提交,售价-分销总金额-手续费>=结算价',
49 => '商品过期时间小于等于,上架时间',
52 => '商品过期时间小于等于,上架时间',
];
}
\ No newline at end of file
......@@ -282,7 +282,7 @@ class GoodsService
//立即上架和定时上架
if (in_array($skuData["online_type"], [1,2])) {
if ($skuData["expiration_time"] <= $skuData['online_start_time']) {
throw new GoodsException(["cus" => 49]);
throw new GoodsException(["cus" => 52]);
}
}
}
......@@ -609,7 +609,7 @@ class GoodsService
//立即上架和定时上架
if (in_array($onlineType, [1,2])) {
if ($sku["expiration_time"] <= $goodsSkuData['online_start_time']) {
throw new GoodsException(["cus" => 49]);
throw new GoodsException(["cus" => 52]);
}
}
......@@ -849,7 +849,7 @@ class GoodsService
//立即上架和定时上架
if (in_array($params["online_type"], [1,2])) {
if ($skuData["expiration_time"] <= $skuParams['online_start_time']) {
throw new GoodsException(["cus" => 49]);
throw new GoodsException(["cus" => 52]);
}
}
}
......
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