Commit 73881abb authored by 孙磊's avatar 孙磊

base

Signed-off-by: 孙磊's avatarsunlei <sunlei@romens.cn>
parent e36435c9
......@@ -20,7 +20,7 @@ use backend\components\v1\authorizationFilter;
* ),
* @OA\Server(
* description="Api server",
* url="/sunlei/weiShopNew",
* url="/guoyongzhi/weiShopNew",
* ),
* @OA\SecurityScheme(
* securityScheme="Authorization",
......@@ -85,10 +85,10 @@ class BaseController extends ActiveController
'optional' => ['login'],
];
// 授权
// $behaviors['authorizationFilter']=[
// 'class' => authorizationFilter::className(),
// 'optional' => ['login'],//过滤不需要验证的action
// ];
$behaviors['authorizationFilter']=[
'class' => authorizationFilter::className(),
'optional' => ['login'],//过滤不需要验证的action
];
return $behaviors;
}
}
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