Commit 2878eb6b authored by shajiaming's avatar shajiaming

Merge branch 'feature/fast_iterative' into develop

parents 0b06113b effa3641
...@@ -42,6 +42,9 @@ class BaseController extends Controller ...@@ -42,6 +42,9 @@ class BaseController extends Controller
if ('en' == strtolower($this->lang)) { if ('en' == strtolower($this->lang)) {
$this->lang = 'en-US'; $this->lang = 'en-US';
} }
if ('zh-cn' == strtolower($this->lang)) {
$this->lang = 'zh-CN';
}
if (\Yii::$app->request->headers->get('FZM-PLATFORM-ID')) { if (\Yii::$app->request->headers->get('FZM-PLATFORM-ID')) {
$this->platform_id = \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