Commit 7057fbbf by 杨树贤

成立时间毫秒问题

parent 458eea35
Showing with 1 additions and 2 deletions
......@@ -31,8 +31,7 @@ class CompanyService
$companyInfoList = array_get(array_get($result['data'], 'tycList'), 'company_info_list');
if (!empty($companyInfoList)) {
$companyInfo = $companyInfoList[0];
$companyInfo['establishment_time'] = $companyInfo['establishment_time'] ? substr($companyInfo['establishment_time'],
0, 10) : 0;
$companyInfo['establishment_time'] = $companyInfo['establishment_time'] ? $companyInfo['establishment_time']/1000 : 0;
$company = [
'supplier_name' => $companyInfo['com_name'] == $supplierName ? $companyInfo['com_name'] : $companyInfo['en_com_name'],
'registered_capital' => (int)$companyInfo['registered_capital'],
......
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