Commit d952c238 authored by shajiaiming's avatar shajiaiming

fix

parent ebd5df6d
...@@ -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