作者 wangzhi

ttpe

... ... @@ -325,13 +325,13 @@ class Common extends Api
$Seller[$k]['CompanyMain'] = $v['CompanyMain'];
}
}
$BatteryArr = Db::name('battery_code')->select();
$BatteryArr = Db::name('battery_type')->select();
if (empty($BatteryArr)) {
$Battery = [];
} else {
foreach ($BatteryArr as $k => $v) {
$Battery[$k]['id'] = $v['id'];
$Battery[$k]['title'] = $v['BatteryCode'];
$Battery[$k]['title'] = $v['type'];
}
}
// $HoursArr = Db::name('hours')->select();
... ...