...
|
...
|
@@ -45,7 +45,7 @@ class CouponModel |
|
|
foreach ($couponlistval['data'] as $focus) {
|
|
|
$result['slide']['list'][] = array(
|
|
|
'href' => Helpers::getUrlSafe($focus['url']), //banner跳转链接
|
|
|
'img' => Images::getImageUrl($focus['src'])//banner图片
|
|
|
'img' => Images::getForceSourceUrl($focus['src'])//banner图片
|
|
|
);
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -61,7 +61,7 @@ class CouponModel |
|
|
foreach ($couponlistval['data'] as $couponskey => $couponsval) {
|
|
|
$result['categories'][$i]['coupons'][$couponskey] = array(
|
|
|
'id' => $couponsval['couponID'], //优惠券号
|
|
|
'img' => Images::getImageUrl($couponsval['image']['src']), //优惠券图片
|
|
|
'img' => Images::getForceSourceUrl($couponsval['image']['src']), //优惠券图片
|
|
|
'url' => Helpers::getUrlSafe($couponsval['image']['url']) //去逛逛链接
|
|
|
);
|
|
|
|
...
|
...
|
|