Commit 0f1964df authored by 孙磊's avatar 孙磊

auth-role

Signed-off-by: 孙磊's avatarsunlei <sunlei@romens.cn>
parent e59611c6
...@@ -268,6 +268,20 @@ return [ ...@@ -268,6 +268,20 @@ return [
'PUT,OPTIONS transport-method-update' => 'transport-method-update', 'PUT,OPTIONS transport-method-update' => 'transport-method-update',
], ],
], ],
//权限-角色
[
'class'=>'yii\rest\UrlRule',
'controller'=>[
'v1/authority/authority-role',
],
'extraPatterns'=>[
'GET,OPTIONS authority-role-list' => 'authority-role-list',
'POST,OPTIONS authority-role-detail'=>'authority-role-detail',
'POST,OPTIONS add-authority-role' => 'add-authority-role',
'PUT,OPTIONS revise-authority-role' => 'revise-authority-role',
'POST,OPTIONS assign-authority-role' => 'assign-authority-role',
],
],
], ],
], ],
] ]
......
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