文档
测试

第三方登录接口

POST
https://api.leadnew.com.cn/index.php/centeruser/index.html

接口描述

POST提交,验过自动注册登录,返回数据

请求参数

参数名
类型
描述
必填
action
string
other.user.login
必填
identity_type
string
wechat
必填
identity
string
identity_type 为wechat填写openid
必填
data
array
数组
必填
openid
string
identity_type 为wechat填写openid的值
可选
timestamp
int
时间戳
必填

响应参数

参数名
类型
描述
必填
result
int
1:成功 0:失败
必填
msg
string
result为0时固有出错信息
必填
timestamp
int
时间戳
必填
data
array
数组
必填
uid
int
用户编号
必填
nickname
string
昵称
必填
status
int
状态 0冻结 1正常
必填
avatar
string
头像
必填
sex
int
0女 1男
必填
point
double
积分
必填
balance
double
余额
必填
id_card
string
身份证号
必填
id_card_name
string
身份证名称
必填
bank
array
银行卡
必填
token
array
令牌数组
必填
token
string
令牌
必填
token_expire
int
超时时间
必填
token_time
int
到期时间时间戳
必填
receive_address
array
收货数组
必填
province_id
int
省份接口省id
必填
city_id
int
省份接口市id
必填
area_id
int
省份接口区id
必填
id
int
收货地址主键
必填
uid
int
用户uid外键
必填
name
string
收货人
必填
mobile
string
收货人手机号
必填
province
string
省份接口省名称
必填
city
string
省份接口市名称
必填
area
string
省份接口区名称
必填
default_address
int
0非默认地址 1默认地址
必填
js_login
string
urlencode编码后的js字符串
必填

说明 / 示例

请看加密说明