...
|
...
|
@@ -800,7 +800,7 @@ class DetailModel |
|
|
switch(intval($attachment['attachType'])) {
|
|
|
case 1: // 大图文字
|
|
|
$result['img'] = array(
|
|
|
'attachUrl' => $attachment['attachUrl'],
|
|
|
'attachUrl' => Helpers::getImageUrl($attachment['attachUrl'], 290, 200),
|
|
|
'attachName' => $attachment['attachName'],
|
|
|
'intro' => $attachment['intro'],
|
|
|
'orderBy' => $attachment['orderBy']
|
...
|
...
|
@@ -809,7 +809,8 @@ class DetailModel |
|
|
case 2: // 视频
|
|
|
$result['video'] = array(
|
|
|
'attachUrl' => $attachment['attachUrl'],
|
|
|
'orderBy' => $attachment['orderBy']
|
|
|
'orderBy' => $attachment['orderBy'],
|
|
|
'img' => Helpers::getImageUrl($attachment['intro'], 290, 200)
|
|
|
);
|
|
|
break;
|
|
|
case 3: // 文本类型
|
...
|
...
|
|