wesmiler před 2 roky
rodič
revize
a090e97b65
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      app/Http/Controllers/Api/LangController.php

+ 2 - 1
app/Http/Controllers/Api/LangController.php

@@ -20,7 +20,8 @@ class LangController extends webApp
             return showJson('2101',false);
         }
         RedisService::set("caches:locale:lang_{$this->userId}", $locale, 24 * 3600);
-        RedisService::keyDel('caches:config:app_*');
+        RedisService::clear('caches:config:app_ios');
+        RedisService::clear('caches:config:app_android');
         session('lang_locale', $locale);
         return showJson(2102);
     }