docs: 更新README文档并改进错误处理

- 在README.md文件中添加获取项目列表的API接口文档说明。
- 将服务启动代码中的错误处理从 `unwrap()` 改为更安全的 `?` 操作符以传播错误。
This commit is contained in:
2025-08-21 11:28:50 +08:00
parent 8a1f2cee94
commit 806480adb1
2 changed files with 4 additions and 3 deletions

View File

@@ -6,4 +6,5 @@
| /verify | 验证token有效性 | token |
| /info | 查询token信息 | token |
| /reset | 更新token状态 | token、enable |
| /renewal | token续期 | token、days |
| /renewal | token续期 | token、days |
| /project | 获取项目列表 | |