|
@@ -66,7 +66,7 @@ class IndexController extends webApp
|
|
|
try {
|
|
try {
|
|
|
$data = [
|
|
$data = [
|
|
|
// 轮播
|
|
// 轮播
|
|
|
- 'banners' => AdService::make()->getListByPosition(2), // 轮播
|
|
|
|
|
|
|
+ 'banners' => AdService::make()->getListByPosition(1), // 轮播
|
|
|
'config'=>[
|
|
'config'=>[
|
|
|
'app_name' => ConfigService::make()->getConfigByCode('app_name'),
|
|
'app_name' => ConfigService::make()->getConfigByCode('app_name'),
|
|
|
'app_logo' => get_image_url(ConfigService::make()->getConfigByCode('app_logo')),
|
|
'app_logo' => get_image_url(ConfigService::make()->getConfigByCode('app_logo')),
|