|
|
|
@ -28,9 +28,6 @@ class IndexController extends Controller |
|
|
|
->get(['title', 'picture', 'type', 'url']); |
|
|
|
foreach ($slide as &$v) { |
|
|
|
$v->picture = $img_prefix . $v->picture; |
|
|
|
if ($v->type == 0) { |
|
|
|
$v->url = $v->url ? '/pages/goodsDetail/index?goods_id=' . $v->url : ''; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
# 公告
|
|
|
|
|