Commit 70be81ad by 杨树贤

紧急修复

parent 6c981f17
Showing with 4 additions and 1 deletions
......@@ -106,7 +106,10 @@ class SkuService
$goodsTag = $redis->hget('goods_tag', $item['goods_id']);
$goodsTag = $goodsTag ? json_decode($goodsTag, true) : '';
$item['sku_tags'] = $goodsTag ? array_get($goodsTag, 'customer_tag') : '';
$item['source_name'] = array_get(config('field.SkuSource'), $item['source'], '');
$item['source_name'] = '';
if (!empty($item['source'])) {
$item['source_name'] = array_get(config('field.SkuSource'), $item['source'], '');
}
return $item;
}, $list);
$list = $this->transformInvalidSkuTag($list);
......
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 sign in to comment