🎨 Add file access control (#9722)

This commit is contained in:
Yingyi / 颖逸 2023-11-22 22:17:18 +08:00 committed by GitHub
parent f5205d846c
commit 4ca62ef701
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 139 additions and 65 deletions

View file

@ -1025,6 +1025,7 @@
* `code`: 非零的异常值
* `-1`: 参数解析错误
* `403`: 无访问权限 (文件不在工作空间下)
* `404`: 未找到 (文件不存在)
* `405`: 方法不被允许 (这是一个目录)
* `500`: 服务器错误 (文件查询失败 / 文件读取失败)