文档
测试

获取token凭证

POST
http://17688948911.liangjihui.com/api/token?code=code&iv=iv&encryptedData=encryptedData

接口描述

需调用 小程序 《getPhoneNumber 》接口

请求参数

参数名
类型
描述
必填
code
string
示例:code
必填
iv
string
示例:iv
必填
encryptedData
string
示例:encryptedData
必填
code
string
示例:
必填
iv
string
示例:
必填
encryptedData
string
示例:
必填

响应参数

参数名
类型
描述
必填
code
int
示例:500
必填
msg
object
示例:null
必填
data
string
示例:Argument 1 passed to EasySwoole\WeChat\MiniProgram\Auth::session() must be of the type string, null given, called in /www/wwwroot/easy/App/HttpController/Api/Token.php on line 24
必填
code
int
示例:500
必填
msg
string
示例:系统错误
必填
data
object
示例:null
必填