文档
测试

个人中心

POST
http://kuailedian.com/member/api.users/getCenterInfo

接口描述

个人中心

响应参数

参数名
类型
描述
必填
code
int
状态码
必填
msg
string
状态消息
必填
data
object
返回数据对象
必填
userInfo
object
返回用户个人信息
必填
pay_password
string
转账支付密码 如果为空 用户未设置转账支付密码
必填
user_id
int
用户id
必填
nick_name
string
用户昵称
必填
mobile
string
用户手机号
必填
headimgurl
string
用户头像
必填
sex
int
1 男 否则 女
必填
vip_state
int
0 //vip状态,0 | 1 | 2 | 3 | 9 => 不是vip | 开通vip30天内 | 开通vip超过30天在60天内 | 超过60天 | 钻石会员
必填
alipay_accounts
object
用户账户信息
必填
alipay_account
array
用户所有账户
必填
rate
string
兑换比例
必填
transfer_info
string
转账说明
必填

说明 / 示例

{ "code": 1, "msg": "请求成功.", "data": { "orderStats": { "all_num": 0, "wait_pay_num": 0, "wait_shipping_num": 0, "wait_sign_num": 0 }, "userInfo": { "user_id": 29959, "pid": 0, "role_id": 0, "mobile": "17513140918", "user_name": "", "pay_password": "fd069b67fe2bc9bebc4c01b28a5fd0ef", "nick_name": "4344", "headimgurl": "http://kuailedian.com/upload/headimg/9/GI7YJQJD2XCV.jpg", "birthday": null, "recommend_token": null, "token": "huChmEoYIJUjVz8C", "signature": "", "show_mobile": 0, "province": 0, "city": 0, "district": 0, "sex": 0, "reg_time": 1606207138, "total_consume": "0.00", "is_bind": 0, "last_buy_time": 0, "last_up_role_time": 0, "login_time": 1607044250, "login_ip": "127.0.0.1", "last_login_time": 1606984789, "last_login_ip": "127.0.0.1", "is_ban": 0, "login_odd_time": 0, "login_odd_num": 0, "send_repeat_buy_msg_time": 0, "account": { "user_id": 29959, "total_dividend": "0.00", "total_integral": "10.00", "balance_money": "20.00", "use_integral": "327200.00", "bean_value": "0.00", "update_time": 1606207138 }, "shareUrl": "http://kuailedian.com/?share_token=huChmEoYIJUjVz8C", "level": { "level_id": 1, "level_name": "注册会员", "min": 0, "max": 99, "level_pro": "100.00", "id": 1, "name": "注册会员" }, "role": { "role_id": 0, "role_name": "粉丝" } }, "unusedNum": 0, "unSeeNum": "0", "collectNum": 0, "alipay_accounts": { "user_id": 29959, "nick_name": "4344", "token": "huChmEoYIJUjVz8C", "alipay_account": [ { "account_id": 24, "user_id": 29959, "type": "alipay", "bank_name": "", "bank_code": "", "user_name": "威风", "account": "为范围", "mobile": "17513140919", "bank_location_outlet": "", "bank_branch_name": "", "pic": "", "add_time": 1606719492, "is_del": 0 }, { "account_id": 31, "user_id": 29959, "type": "alipay", "bank_name": "", "bank_code": "", "user_name": "张冲2", "account": "zhangchongw", "mobile": "17654345677", "bank_location_outlet": "", "bank_branch_name": "", "pic": "", "add_time": 1606976537, "is_del": 0 }, { "account_id": 30, "user_id": 29959, "type": "alipay", "bank_name": "", "bank_code": "", "user_name": "张冲2", "account": "zhangchonge", "mobile": "17654345678", "bank_location_outlet": "", "bank_branch_name": "", "pic": "", "add_time": 1606976419, "is_del": 0 }, { "account_id": 29, "user_id": 29959, "type": "alipay", "bank_name": "", "bank_code": "", "user_name": "张冲", "account": "zhangchong", "mobile": "17654345678", "bank_location_outlet": "", "bank_branch_name": "", "pic": "", "add_time": 1606974180, "is_del": 0 }, { "account_id": 34, "user_id": 29959, "type": "alipay", "bank_name": "", "bank_code": "", "user_name": "张冲2", "account": "zhangchongu", "mobile": "17654345677", "bank_location_outlet": "", "bank_branch_name": "", "pic": "", "add_time": 1606996093, "is_del": 0 } ] }, "code": 1 }, "url": "", "wait": 3 }