文档
测试

小程序授权

POST
http://localhost:8080/ctaobao/api/user/wxspAuth

请求参数

参数名
类型
描述
必填
wxLoginInfo.openId
string
示例:
必填
wxLoginInfo.nickName
string
示例:
必填
wxLoginInfo.avatarUrl
string
示例:
必填
wxLoginInfo.gender
string
示例:
必填
wxLoginInfo.country
string
示例:
必填
wxLoginInfo.province
string
示例:
必填
wxLoginInfo.city
string
示例:
必填
wxLoginInfo.language
string
示例:
必填
wxLoginInfo.rawData
string
示例:
必填
wxLoginInfo.signature
string
示例:
必填
wxLoginInfo.encryptedData
string
示例:
必填
wxLoginInfo.iv
string
示例:
必填

响应参数

参数名
类型
描述
必填
code
string
示例:1
必填
data
object
数据字典 用户详情 与登录一致
必填
message
string
示例:成功
必填