Browse Source

Weenier 168otc项目部署 0630

wesmiler 3 năm trước cách đây
mục cha
commit
7ec8194c82
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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);
         });
     }