|
@@ -786,6 +786,7 @@ class ImportService extends Service
|
|
$tmp['product_attribute'] = $value['8'] ?? 0;
|
|
$tmp['product_attribute'] = $value['8'] ?? 0;
|
|
$tmp['build_fee'] = $value['9'] ?? 0;
|
|
$tmp['build_fee'] = $value['9'] ?? 0;
|
|
$tmp['item_code'] = $value['10'] ?? "";
|
|
$tmp['item_code'] = $value['10'] ?? "";
|
|
|
|
+ $tmp['warranty_time'] = $value['11'] ?? 0;
|
|
foreach ($map as $m => $v){
|
|
foreach ($map as $m => $v){
|
|
if($value[$v['col']]){
|
|
if($value[$v['col']]){
|
|
if(! is_numeric($value[$v['col']])) return [false,$v['name'] . ': 请输入数字且最多两位小数'];
|
|
if(! is_numeric($value[$v['col']])) return [false,$v['name'] . ': 请输入数字且最多两位小数'];
|