|
@@ -39,9 +39,13 @@ class IndexController extends webApp
|
|
|
if (empty($config)) {
|
|
|
$config = [
|
|
|
'app_name' => ConfigService::make()->getConfigByCode('app_name'),
|
|
|
+ 'app_logo' => ConfigService::make()->getConfigByCode('app_logo'),
|
|
|
'app_version' => ConfigService::make()->getConfigByCode('app_version'),
|
|
|
'h5_url' => ConfigService::make()->getConfigByCode("h5_url"),
|
|
|
- 'site_custom_phone' => ConfigService::make()->getConfigByCode('site_custom_phone'),
|
|
|
+ 'custom_phone' => ConfigService::make()->getConfigByCode('custom_phone'),
|
|
|
+ 'custom_telegram' => ConfigService::make()->getConfigByCode('custom_telegram'),
|
|
|
+ 'custom_email' => ConfigService::make()->getConfigByCode('custom_email'),
|
|
|
+ 'open_h5' => ConfigService::make()->getConfigByCode('open_h5',0),
|
|
|
];
|
|
|
RedisService::set($cacheKey, $config, 7200);
|
|
|
}
|