Commit 7de705c5 by 杨树贤

标签兼容

parent 7048effd
Showing with 1 additions and 1 deletions
...@@ -227,7 +227,7 @@ class SupplierController extends Controller ...@@ -227,7 +227,7 @@ class SupplierController extends Controller
]; ];
}, $systemTags); }, $systemTags);
$customerTags = $tagService->getTagsBySupplierId($supplierId, 2); $customerTags = $tagService->getTagsBySupplierId($supplierId, 2);
$supplier['customer_tags'] = $customerTags ? implode(',', $customerTags) : ''; $supplier['customer_tags'] = $customerTags ? implode(',', $customerTags['list']) : [];
$supplierModel = new SupplierChannelModel(); $supplierModel = new SupplierChannelModel();
$supplierModel->where('supplier_id', $supplierId)->update([ $supplierModel->where('supplier_id', $supplierId)->update([
'customer_tags' => $supplier['customer_tags'], 'customer_tags' => $supplier['customer_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