wesmiler 5 дней назад
Родитель
Сommit
b31fd2a4d9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Http/Controllers/Api/v1/IndexController.php

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

@@ -81,7 +81,7 @@ class IndexController extends webApp
                 'config'=>[
                     'short_name' => ConfigService::make()->getConfigByCode('short_name'),
                     'index_logo' => get_image_url(ConfigService::make()->getConfigByCode('index_logo')),
-                    'shop_tips' => get_image_url(ConfigService::make()->getConfigByCode('shop_tips')),
+                    'shop_tips' => htmlspecialchars_decode(ConfigService::make()->getConfigByCode('shop_tips')),
                 ]
             ];