feat: 添加微信认证相关接口,包括微信登录和用户资料更新功能
- 新增 wechatLogin 接口,支持使用微信临时凭证 code 登录或注册用户,返回用户信息和 auth token。 - 新增 wechatProfile 接口,支持更新微信用户资料,支持非空字段增量更新。 - 定义相关请求和响应的 schema,包括 WechatLoginRequest、WechatProfileRequest、AuthSuccessResponse 和 WechatProfileResponse。 - 处理不同的响应状态码,包括成功、参数错误、认证失败等。
This commit is contained in:
1521
pocket-base/spec/openapi-wx/cart.yaml
Normal file
1521
pocket-base/spec/openapi-wx/cart.yaml
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user