...
|
...
|
@@ -88,8 +88,15 @@ class Index extends Api |
|
|
'lng' => '',
|
|
|
'name' => '',
|
|
|
'mobile' => '',
|
|
|
'text' => '',
|
|
|
'images' => [],
|
|
|
];
|
|
|
} else {
|
|
|
if (strstr($arr['images'], ',')) $Images = explode(',', $arr['images']);
|
|
|
else $Images = explode(' ', $arr['images']);
|
|
|
foreach ($Images as $k => $v) {
|
|
|
$Images[$k] = cdnurl($v);
|
|
|
}
|
|
|
$data = [
|
|
|
'id' => $arr['id'],
|
|
|
'title' => $arr['title'],
|
...
|
...
|
@@ -98,6 +105,8 @@ class Index extends Api |
|
|
'lng' => $arr['lng'],
|
|
|
'name' => $arr['name'],
|
|
|
'mobile' => $arr['mobile'],
|
|
|
'text' => $arr['text'],
|
|
|
'images' => $Images,
|
|
|
];
|
|
|
}
|
|
|
$this->success('成功', $data);
|
...
|
...
|
|