作者 王智

xiugai

... ... @@ -1591,8 +1591,10 @@ class Algorithm extends Api
}
}
foreach ($sport_image as $k => $v) {
if (!empty($v)) {
$sport_image[$k] = cdnurl($v);
}
}
if (strstr($BigArray['eat_image'], ',')) {
$eat_image = explode(',', $BigArray['eat_image']);
... ... @@ -1613,8 +1615,10 @@ class Algorithm extends Api
}
}
foreach ($eat_image as $k => $v) {
if (!empty($v)) {
$eat_image[$k] = cdnurl($v);
}
}
if (strstr($BigArray['body_image'], ',')) {
$body_image = explode(',', $BigArray['body_image']);
... ... @@ -1635,8 +1639,10 @@ class Algorithm extends Api
}
}
foreach ($body_image as $k => $v) {
if (!empty($v)) {
$body_image[$k] = cdnurl($v);
}
}
if (strstr($BigArray['season_image'], ',')) {
$season_image = explode(',', $BigArray['season_image']);
... ... @@ -1657,8 +1663,10 @@ class Algorithm extends Api
}
}
foreach ($season_image as $k => $v) {
if (!empty($v)) {
$season_image[$k] = cdnurl($v);
}
}
if (strstr($BigArray['work_image'], ',')) {
$work_image = explode(',', $BigArray['work_image']);
... ... @@ -1679,8 +1687,10 @@ class Algorithm extends Api
}
}
foreach ($work_image as $k => $v) {
if (!empty($v)) {
$work_image[$k] = cdnurl($v);
}
}
if (strstr($BigArray['face_image'], ',')) {
... ... @@ -1702,8 +1712,10 @@ class Algorithm extends Api
}
}
foreach ($face_image as $k => $v) {
if (!empty($v)) {
$face_image[$k] = cdnurl($v);
}
}
$Return = [
//头部
'Header' => [
... ...