api-mini-program.md 1.3 KB

基本信息

接口名称:微信小程序授权

接口路径:POST/v1/user/identity/mini-login

Mock地址:http://106.52.144.247:3000/mock/249/v1/user/identity/mini-login

备注

access_token为空时,引导请求授权手机号码

请求参数

Headers:

参数名称 参数值 是否必须 示例 备注
Content-Type application/json

Body:

名称 类型 是否必须 默认值 备注 其他信息
code string 非必须
encryptedData string 非必须
iv string 非必须

返回数据

名称 类型 是否必须 默认值 备注 其他信息
code number 非必须
msg string 非必须
+data object 非必须
openid string 非必须
access_token string 非必须