Przeglądaj źródła

Weenier 168otc项目部署 0630

wesmiler 3 lat temu
rodzic
commit
7ec8194c82
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      app/Http/Controllers/Admin/Backend.php

+ 2 - 0
app/Http/Controllers/Admin/Backend.php

@@ -62,6 +62,8 @@ class Backend extends BaseController
             // 登录验证
             $this->initLogin($userId);
 
+            app()->setLocale('zh-cn');
+
             return $next($request);
         });
     }