mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-18 06:37:28 +08:00
separate route permission + token manage
This commit is contained in:
@@ -40,6 +40,7 @@ return [
|
||||
'oauth_access_token' => '访问令牌',
|
||||
'oauth_auth_code' => '授权码',
|
||||
'oauth_refresh_token' => '刷新令牌',
|
||||
'token' => '访问令牌',
|
||||
],
|
||||
'resources' => [
|
||||
'agent_allow' => [
|
||||
|
||||
@@ -217,18 +217,4 @@ return [
|
||||
'text' => '允许个性条',
|
||||
'desc' => '允许用户使用个性条',
|
||||
],
|
||||
|
||||
//新加
|
||||
'torrent:list' => [
|
||||
'text' => '获取种子列表',
|
||||
'desc' => '获取种子列表',
|
||||
],
|
||||
'torrent:view' => [
|
||||
'text' => '查看种子详情',
|
||||
'desc' => '查看种子详情',
|
||||
],
|
||||
'user:view' => [
|
||||
'text' => '查看用户基本信息',
|
||||
'desc' => '查看用户基本信息',
|
||||
],
|
||||
];
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'torrent:upload' => [
|
||||
'text' => '发布种子',
|
||||
'desc' => '发布种子',
|
||||
],
|
||||
'torrent:list' => [
|
||||
'text' => '获取种子列表',
|
||||
'desc' => '获取种子列表',
|
||||
],
|
||||
'torrent:view' => [
|
||||
'text' => '查看种子详情',
|
||||
'desc' => '查看种子详情',
|
||||
],
|
||||
'user:view' => [
|
||||
'text' => '查看用户基本信息',
|
||||
'desc' => '查看用户基本信息',
|
||||
],
|
||||
];
|
||||
@@ -5,4 +5,6 @@ return [
|
||||
"permission" => "权限",
|
||||
"maximum_allow_number_reached" => "数量达到上限",
|
||||
"create_success_tip" => "token 创建成功,此数据只展示一次,请妥善保存<br/><br/>:token",
|
||||
"last_used_at" => "最近使用时间",
|
||||
"token" => "摘要",
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user