wesmiler 2 giorni fa
parent
commit
df2eae37fa
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Http/Controllers/Api/v1/IndexController.php

+ 1 - 1
app/Http/Controllers/Api/v1/IndexController.php

@@ -68,7 +68,7 @@ class IndexController extends webApp
                 // 轮播
                 'banners' => AdService::make()->getListByPosition(1), // 轮播
                 'config'=>[
-                    'app_name' => ConfigService::make()->getConfigByCode('app_name'),
+                    'short_name' => ConfigService::make()->getConfigByCode('short_name'),
                     'app_logo' => get_image_url(ConfigService::make()->getConfigByCode('app_logo')),
                     'index_logo' => get_image_url(ConfigService::make()->getConfigByCode('index_logo')),
                 ]