Commit e43e81ac authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/optimize' into 'master'

fix See merge request !469
parents ebd5df6d d952c238
...@@ -36,7 +36,7 @@ class UserAuthInterceptor extends ActionFilter ...@@ -36,7 +36,7 @@ class UserAuthInterceptor extends ActionFilter
if (strpos(strtolower($user["data"]->username), 'kefu') !== false) { if (strpos(strtolower($user["data"]->username), 'kefu') !== false) {
$handerClass = strtolower(Yii::$app->controller->id); $handerClass = strtolower(Yii::$app->controller->id);
if (in_array(strtolower($request_action), ['manual-list', 'wallet-ballance'])) { if (in_array(strtolower($request_action), ['manual-list', 'wallet-ballance','user-info'])) {
return true; return true;
} }
if (in_array(strtoupper($handerClass), ['ASSET', 'FLASH'])) { if (in_array(strtoupper($handerClass), ['ASSET', 'FLASH'])) {
......
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