wechat/mp_auth
POST
https://youxuanvip.vip/api/wechat/mp_auth
接口描述
小程序登录的接口
请求参数
参数名
类型
描述
必填
cache_key
上一次授权成功后返回的cache_key
必填
login_type
填写 :routine
必填
code
获取会员的code
必填
响应参数
参数名
类型
描述
必填
userInfo
$userInfo 会员信息
必填
expires_time
strtotime($token->expires_time) 有效时间
必填
cache_key
$cache_key 直接获取会员信息
必填
token
token->token,会员token
必填