...
|
...
|
@@ -190,6 +190,9 @@ class Index extends Api |
|
|
$this->error('参数错误', 0);
|
|
|
}
|
|
|
$BatteryArr = json_decode($Arr['Battery'], true);
|
|
|
foreach ($BatteryArr as $k => $v) {
|
|
|
$BatteryArr[$k]['title'] = Db::name('battery_code')->where('id', $v['type_id'])->value('title');
|
|
|
}
|
|
|
$data = [
|
|
|
'avatar' => cdnurl($Arr['avatar']),
|
|
|
'name' => $Arr['name'],
|
...
|
...
|
|