Diff
18-docs-rest-api.md @ 031c3af
commit 031c3af2aef9329b179f4e772a513b392b91554a
Author: bid-docs <bid-docs@localhost>
Date: 2026-01-21T11:21:18+08:00
Document API token source
diff --git a/docs/18-docs-rest-api.md b/docs/18-docs-rest-api.md
index 4970568..36a81de 100644
--- a/docs/18-docs-rest-api.md
+++ b/docs/18-docs-rest-api.md
@@ -5,6 +5,8 @@
## 1. 认证
- Header:`Authorization: Bearer <BID_API_TOKEN>`
- 备用 Header:`X-API-Key: <BID_API_TOKEN>`
+## 1.1 Token 来源
+- `.env` 文件中的 `BID_API_TOKEN`
## 2. 基础路径
- 线上:`https://bid.hao.work/docs/api/`
@@ -50,4 +52,3 @@ POST Body 示例:
- `40001` 参数错误
- `40401` 资源不存在
- `50001` 服务错误
-