...
|
...
|
@@ -406,9 +406,17 @@ class Season extends Api |
|
|
if (empty($GoodsArray)) {
|
|
|
$this->error('商品详情不存在', 0);
|
|
|
}
|
|
|
if (strstr($GoodsArray['long_image'], '.')) {
|
|
|
$LongArray = explode(',', $GoodsArray['long_image']);
|
|
|
} else {
|
|
|
$LongArray = explode(' ', $GoodsArray['long_image']);
|
|
|
}
|
|
|
foreach ($LongArray as $k => $v) {
|
|
|
$LongArray[$k] = cdnurl($v);
|
|
|
}
|
|
|
$data = [
|
|
|
'Price' => $GoodsArray['price'],
|
|
|
'LongImage' => cdnurl($GoodsArray['long_image']),
|
|
|
'LongImage' => $LongArray,
|
|
|
];
|
|
|
$this->success('成功', $data);
|
|
|
}
|
...
|
...
|
|