This commit is contained in:
邓皓元 2019-04-09 10:09:07 +08:00
parent 241eb9533f
commit 2e3038d3b1

View File

@ -27,6 +27,7 @@ class CompanySync extends Command
foreach ($data as &$item) {
$item = (array)$item;
$item['name'] = trim($item['name']);
$item['sn'] = CommonService::stringifyCompanyId($item['id']);
$item['created_at'] = date('Y-m-d H:i:s', $item['created_at']);
$item['updated_at'] = date('Y-m-d H:i:s', $item['updated_at']);