diff --git a/app/Console/Commands/UpdateCompany.php b/app/Console/Commands/UpdateCompany.php index 5366835..f852fa5 100755 --- a/app/Console/Commands/UpdateCompany.php +++ b/app/Console/Commands/UpdateCompany.php @@ -96,7 +96,7 @@ class UpdateCompany extends Command 'currency_type' => $result['currencyType'], 'stock_number' => $result['stockNumber'], 'stock_type' => $result['stockType'], - 'company_tag' => $result['tagList'], + 'company_tag' => implode(',', $result['companyTag']), ]; $company = Company::updateOrCreate($where, $data); // 更新用户关联