Commit e6a2f160 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/optimize' into 'master'

fix See merge request !472
parents 6778fceb 5974073e
...@@ -34,7 +34,7 @@ class UserAuthInterceptor extends ActionFilter ...@@ -34,7 +34,7 @@ class UserAuthInterceptor extends ActionFilter
goto doEnd; goto doEnd;
} }
if (strpos(strtolower($user["data"]->username), 'kefu') !== false) { if (strpos(strtolower($user["data"]->username), 'kefu') !== false || strpos(strtolower($user["data"]->username), 'caiwu') !== false) {
$handerClass = strtolower(Yii::$app->controller->id); $handerClass = strtolower(Yii::$app->controller->id);
if (in_array(strtolower($request_action), ['manual-list', 'wallet-ballance', 'user-info', 'edit-pwd', 'verify'])) { if (in_array(strtolower($request_action), ['manual-list', 'wallet-ballance', 'user-info', 'edit-pwd', 'verify'])) {
return true; return true;
......
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