token permission config + fix getLogFile()

This commit is contained in:
xiaomlove
2025-05-02 21:15:00 +07:00
parent 14f06778b2
commit 6a3ed230df
11 changed files with 63 additions and 19 deletions
+6 -1
View File
@@ -124,7 +124,12 @@ return [
'upload_api_endpoint' => 'Upload interface address',
'base_url' => 'Image URL prefix',
'upload_token' => 'Upload token',
]
],
'permission' => [
'tab_header' => 'Permission',
'user_token_allowed' => 'Permission available to user token',
'user_token_allowed_help' => 'User token has no right to invoke without permission from this tabular list',
],
],
'user' => [
'label' => 'User',
+6 -1
View File
@@ -124,7 +124,12 @@ return [
'upload_api_endpoint' => '上传接口地址',
'base_url' => '图片 URL 前缀',
'upload_token' => '上传令牌',
]
],
'permission' => [
'tab_header' => '权限',
'user_token_allowed' => '用户 token 可用权限',
'user_token_allowed_help' => '不在此列表的权限,用户 token 无权调用',
],
],
'user' => [
'label' => '用户',
+6 -1
View File
@@ -124,7 +124,12 @@ return [
'upload_api_endpoint' => '上傳接口地址',
'base_url' => '圖片 URL 前綴',
'upload_token' => '上傳令牌',
]
],
'permission' => [
'tab_header' => '權限',
'user_token_allowed' => '用戶 token 可用權限',
'user_token_allowed_help' => '不在此列表的權限,用戶 token 無權調用',
],
],
'user' => [
'label' => '用戶',