wesmiler 2 年之前
父节点
当前提交
a090e97b65
共有 1 个文件被更改,包括 2 次插入1 次删除
  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);
     }