Files
han-note/http-client/gateApi.http
Hanserwei e5c79f1abc feat(user): 更新用户表字段及认证接口
- 将用户表中的 `han_note_id` 注释更新为 "小憨书号"
- 将用户表中的 `phone` 字段改为 `email` 并更新注释
- 更新分布式ID生成器中相关SQL表名引用从 `leaf_alloc` 到 `leaf`
- 在HTTP客户端配置文件中新增认证API请求示例
- 修改Feign接口方法名以匹配邮箱查询逻辑
- 调整RPC服务调用方法名保持一致性
2025-10-12 00:49:35 +08:00

28 lines
466 B
HTTP

###
POST http://localhost:8000/auth/verification/code/send
Content-Type: application/json
{
"email": "ssw010723@gmail.com"
}
### /
POST http://localhost:8000/auth/login
Content-Type: application/json
{
"email": "ssw010723@gmail.com",
"code": "135466",
"type": 1
}
###
POST http://localhost:8000/auth/password/update
Content-Type: application/json
Authorization: Bearer {{token}}
{
"newPassword": "wwgb1314"
}