Commit f65d418a authored by luhongguang's avatar luhongguang

update:审核通过

parent bcf0c1bb
...@@ -327,6 +327,8 @@ class GoodsService ...@@ -327,6 +327,8 @@ class GoodsService
$status = $params["audit_status"]; $status = $params["audit_status"];
$operatorId = empty($params["user_id"]) ? 0 : $params["user_id"]; $operatorId = empty($params["user_id"]) ? 0 : $params["user_id"];
$operatorName = $params["user_name"]; $operatorName = $params["user_name"];
//为避免下边逻辑判断复杂
$params["rejected_reason"] = isset($params["rejected_reason"]) ? $params["rejected_reason"] : '';
$goodsSpu = GoodsSpu::get("*", ["goods_spu_id" => $goodsSpuId]); $goodsSpu = GoodsSpu::get("*", ["goods_spu_id" => $goodsSpuId]);
if (empty($goodsSpu)) { if (empty($goodsSpu)) {
......
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