主题
所有接口路径前缀为 /api/v1。
/api/v1
{ "code": 0, "msg": "", "data": { ... } }
code 按域分组:
code
0
1000-1999
2000-2999
3000-3999
4000-4999
5000-5999
大部分接口需要认证。登录后 token 通过 HttpOnly Cookie 自动携带,也支持 Authorization: Bearer <token> 头。
Authorization: Bearer <token>
运行时访问 /swagger-ui 查看完整的交互式 API 文档。
/swagger-ui