Commit 8d46228e by 杨树贤

fix

parent 1f582cde
Showing with 2 additions and 2 deletions
......@@ -175,7 +175,7 @@ class SupplierTagService
$result = [];
foreach ($data as $key => $value) {
$result[] = [
'goods_label' => config('field.SkuGoodsLabel')[$key],
'goods_label' => isset(config('field.SkuGoodsLabel')[$key]) ? config('field.SkuGoodsLabel')[$key] : '',
'system_tags' => implode(',', $value['system_tags']),
];
}
......@@ -193,7 +193,7 @@ class SupplierTagService
$result = [];
foreach ($data as $key => $value) {
$result[] = [
'goods_source' => config('field.SkuGoodsLabel')[$key],
'goods_source' => isset(config('field.SkuSource')[$key]) ? config('field.SkuSource')[$key] : '',
'system_tags' => implode(',', $value['system_tags']),
];
}
......
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