Commit 2e80d35a authored by 姚书霞's avatar 姚书霞 🐘

shangchuan

parent b9e9c61b
...@@ -47,7 +47,12 @@ return [ ...@@ -47,7 +47,12 @@ return [
'rules' => [ 'rules' => [
[ [
'class'=>'yii\rest\UrlRule', 'class'=>'yii\rest\UrlRule',
'controller'=>['swagger','v1/shop/branch/branch','v1/user/user'], 'controller'=>[
'swagger',
'v1/shop/branch/branch',
'v1/shop/user/shop-user-membergrade',
'v1/user/user'
],
'extraPatterns'=>[ 'extraPatterns'=>[
'GET,OPTIONS test'=>'test', 'GET,OPTIONS test'=>'test',
'GET swagger'=>'swagger', 'GET swagger'=>'swagger',
......
...@@ -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="/guoyongzhi/weiShopNew", * url="/yaoshuxia/shopback",
* ), * ),
* @OA\SecurityScheme( * @OA\SecurityScheme(
* securityScheme="Authorization", * securityScheme="Authorization",
......
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