Commit effa3641 authored by shajiaming's avatar shajiaming

语言bug

parent 54adb613
......@@ -42,6 +42,9 @@ class BaseController extends Controller
if ('en' == strtolower($this->lang)) {
$this->lang = 'en-US';
}
if ('zh-cn' == strtolower($this->lang)) {
$this->lang = 'zh-CN';
}
if (\Yii::$app->request->headers->get('FZM-PLATFORM-ID')) {
$this->platform_id = \Yii::$app->request->headers->get('FZM-PLATFORM-ID');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment