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