文档
测试

获取用户信息接口以及登录

POST
http://sqdk.yuetaobuy.com/sqdkv2/user/appLogin

请求参数

参数名
类型
描述
必填
user.unionid
string
示例:o5mpXxLqiPiVejcrlpOe4_Z7u6fs
必填

响应参数

参数名
类型
描述
必填
id
int
用户id,示例:187041
必填
openId
string
微信openId,示例:oTafI1dgzlEn6_o7syQEmUFw1AKQ
必填
unionid
string
微信unionid,示例:o5mpXxLqiPiVejcrlpOe4_Z7u6fs
必填
unionOpenid
string
绑定微信支付id,示例:oQz8T5i0KnEUBy9dX6KmTUctezjQ
必填
tixianName
string
支付宝姓名
必填
imei
string
设备id,示例:7b0fdefe-beff-4385-f917-9f3f77fbb6a9
必填
userCode
string
用户编号
必填
niName
string
昵称
必填
photo
string
用户头像
必填
sex
string
性别,1男,2女
必填
phone
string
电话
必填
alipay
string
支付宝账号
必填
uname
string
真实姓名
必填
todMoney
int
今日收益
必填
yuMoney
float
余额
必填
totMoney
float
累计收益
必填
payMoney
int
累计订单金额
必填
payNum
int
累计订单数
必填
totTiMoney
float
累计提现金额
必填
daiCunMoney
int
必填
bangWx
string
是否绑定微信支付,1绑定,0未绑定
必填
tuNum
int
徒弟数量
必填
tutuNum
int
徒孙数量
必填
gtId
string
个推id
必填
pushId
string
友盟推送id
必填
loginTime
string
登录时间
必填
createTime
string
创建时间
必填
qrCodeUrl
string
分享二维码链接
必填
duiAdvImg
string
兑换界面图片链接,暂时不用
必填
duiAdvUrl
string
兑换界面图片链接,暂时不用
必填
member
string
会员等级
必填
remark
string
备注
必填
errTag
string
状态为1,封号
必填
userChannel
string
用户渠道
必填
userType
string
用户类型,1安卓,2苹果
必填
gold
int
累计金币
必填
dayGold
int
今日金币
必填

说明 / 示例

```json { "id": 187041, "pid": null, "openId": "oTafI1dgzlEn6_o7syQEmUFw1AKQ", "unionid": "o5mpXxLqiPiVejcrlpOe4_Z7u6fs", "unionOpenid": "oQz8T5i0KnEUBy9dX6KmTUctezjQ", "tixianName": null, "imei": "7b0fdefe-beff-4385-f917-9f3f77fbb6a9", "userCode": "72987", "niName": "把握现在", "photo": "http://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eqhpm1Pq30sibXbmdun0cJkl7oljL4FWoCNH8OoC0mfqZBiaqZtqdRdBvrsqCCTZwo1rGAwK74LfCQg/132", "sex": "1", "phone": null, "alipay": null, "uname": null, "todMoney": 0, "yuMoney": 8.49, "totMoney": 8.39, "payMoney": 0, "orderMoney": null, "payNum": 2, "totTiMoney": 1.9, "daiCunMoney": 0, "bangWx": "1", "tuNum": 0, "tutuNum": 0, "gtId": "555646267981d28b3c7be2cf6ed07c3f", "pushId": "", "loginTime": "2020-05-06", "createTime": "2020-04-13 16:59:38", "qrCodeUrl": "http://api.k780.com:88/?app=qr.get&margin=1&data=https%3a%2f%2fopen.weixin.qq.com%2fconnect%2foauth2%2fauthorize%3fappid%3dwxfb964935e7a44fc3%26redirect_uri%3dhttp%3a%2f%2fsqdk.51lajiang.com%2fsqdkv2%2fuser%2fappShopMianShare%26response_type%3dcode%26scope%3dsnsapi_userinfo%26state%3d187041_1%23wechat_redirect&size=100x100&margin=2", "duiAdvImg": "http://app.yuetaobuy.com/ctaobao/file/duibot.png", "duiAdvUrl": "http://m.cudaojia.com?appKey=01374358473540ee85dbf96ac83b9ee8&appType=app&appEntrance=5&business=money&i=__IMEI__", "yaoType": null, "yaoOrderId": null, "mianTag": null, "firmOrder": 0, "yongjin": 0, "member": "2", "growthValue": 1, "demandState": null, "upPid": null, "remark": null, "monOrderNum": null, "orderNum": null, "memberMoney": null, "memberMonMoney": null, "errTag": null, "userChannel": "应用宝", "userType": "1", "operationTime": null, "alimaPid": null, "alimaAdvName": null, "weixinhao": "shengqiandaka_LL", "profit": null, "chongzhi": null, "awardMoney": 0, "taobaoAuthorization": null, "leijiTime": null, "snatchNum": null, "singInState": null, "goleLingquTime": null, "noQianshouMoney": null, "yaoFrom": null, "lowProfit": null, "highProfit": null, "lowTotMoney": null, "highTotMoney": null, "upSuperiorMoney": null, "superiorMoney": null, "loginNumber": 0, "jindu": null, "benyueYugu": 0, "shangyuJiesuan": 0, "tongbuTaobao": null, "estimateYongjin": null, "yaoqingNum": null, "leijiSuperiorMoney": null, "relationId": "518558166", "specialId": null, "adzone_id": "110160350055", "alimaRelationId": "560131808", "duihuanNum": 0, "zhuliMoney": null, "gold": 34794, "dayGold": 101, "cartNum": null, "jingAppNum": 0, "leijiGold": null, "adzone_pid": "mm_13835710_340800298_110160350055", "zhuDialog": null, "startTime": null, "endTime": null, "userRan": null, "redPackEndTime": null, "bdAppVersion": null, "tipMoney": 0 } ```