文档
测试

小程序授权

POST
{{test}}/api/user/mini_app_auth

请求参数

参数名
类型
描述
必填
mobile
string
示例:手机号(非必填)
必填
code
string
示例:code
必填
nickname
string
示例:昵称(非必填)
必填
gender
string
示例:性别(非必填)
必填
avatar
string
示例:头像(非必填)
必填
parent_id
string
示例:上级id(非必填)
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:参数错误
必填
time
string
示例:1663812332
必填
data
object
示例:null
必填