...
|
...
|
@@ -397,15 +397,9 @@ class ShopModel |
|
|
Helpers::substrEllipsis($resource['enName'], 5) : Helpers::substrEllipsis($resource['enName'], 10),
|
|
|
'name' => Helpers::isChinese($resource['name']) ?
|
|
|
Helpers::substrEllipsis($resource['name'], 5) : Helpers::substrEllipsis($resource['name'], 6),
|
|
|
<<<<<<< HEAD
|
|
|
'img' => self::imageView2($resource['src'], 50, 50),
|
|
|
'title' => $resource['title'],
|
|
|
'url' => $resource['url'],
|
|
|
=======
|
|
|
'img'=> self::imageView2($resource['src'], 50, 50),
|
|
|
'title'=> $resource['title'],
|
|
|
'url'=> Helpers::getUrlSafe($resource['url']),
|
|
|
>>>>>>> master
|
|
|
);
|
|
|
}
|
|
|
if (empty($result)) {
|
...
|
...
|
@@ -459,13 +453,8 @@ class ShopModel |
|
|
|
|
|
foreach ($resource['data'] as $val) {
|
|
|
$result[] = array(
|
|
|
<<<<<<< HEAD
|
|
|
'img' => self::imageView2($val['src'], 160, 240),
|
|
|
'url' => $val['url'],
|
|
|
=======
|
|
|
'img'=> self::imageView2($val['src'], 160, 240),
|
|
|
'url'=> Helpers::getUrlSafe($val['url']),
|
|
|
>>>>>>> master
|
|
|
);
|
|
|
}
|
|
|
}
|
...
|
...
|
|