ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[TOC] * * * * * ### WeEngine Android、IOS Member api #### 个人中心 ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.member *string:openid=默认值#openid <<< success { "status": 1, "result": { "id": "", //用户ID "avatar": "", //用户头像 "nickname": "", //用户昵称 "moneytext": "余额", //余额名称 "credittext": "积分", //积分名称 "credit1": "0.00", //用户积分 "credit2": "9980.10", //用户余额 "levelurl": "", "levelname": "普通会员", //用户等级 "statics": { "order_0": "0", //待付款 "order_1": "0", //待发货 "order_2": "1", //待收货 "order_4": "0", //退换货 "cart": "0", //购物车 "favorite": "0", //关注 "coupon": "0" //优惠券 }, "url": "" } } <<< error { "status": 0, "result": { "message": "错误信息" } } ~~~ #### 个人详情 ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.member.info *string:openid=默认值#openid <<< success { "status": 1, "result": { "member": { "id": "4600", "uniacid": "4", "uid": "0", "groupid": "0", "level": "0", "agentid": "0", "openid": "wap_user_4_13053237223", "realname": "测试", "mobile": "13053237223", "pwd": "927bbbe7d93bf2ac5f25f071aff3e2ba", "weixin": "shineky", "content": null, "createtime": "1508123138", "agenttime": "0", "status": "0", "isagent": "0", "clickcount": "0", "agentlevel": "0", "noticeset": null, "nickname": "shinkey", "credit1": "6.00", "credit2": "9979.10", "birthyear": "2017", "birthmonth": "11", "birthday": "2017-11-11", "gender": "0", "avatar": "https://127.0.0.1/attachment/images/4/2017/11/emlElMe8YZxgf1B1Xw71F1ee8XwbA1.jpg", "province": "北京市", "city": "北京辖区", "area": "", "childtime": "0", "inviter": "0", "agentnotupgrade": "0", "agentselectgoods": "0", "agentblack": "0", "fixagentid": "0", "diymemberid": "0", "diymemberfields": null, "diymemberdata": null, "diymemberdataid": "0", "diycommissionid": "0", "diycommissionfields": null, "diycommissiondata": null, "diycommissiondataid": "0", "isblack": "0", "username": "", "commission_total": "0.00", "endtime2": "0", "ispartner": "0", "partnertime": "0", "partnerstatus": "0", "partnerblack": "0", "partnerlevel": "0", "partnernotupgrade": "0", "diyglobonusid": "0", "diyglobonusdata": null, "diyglobonusfields": null, "isaagent": "0", "aagentlevel": "0", "aagenttime": "0", "aagentstatus": "0", "aagentblack": "0", "aagentnotupgrade": "0", "aagenttype": "0", "aagentprovinces": null, "aagentcitys": null, "aagentareas": null, "diyaagentid": "0", "diyaagentdata": null, "diyaagentfields": null, "salt": "nvnnvc6ycBC5Nbge", "mobileverify": "1", "mobileuser": "0", "carrier_mobile": "0", "isauthor": "0", "authortime": "0", "authorstatus": "0", "authorblack": "0", "authorlevel": "0", "authornotupgrade": "0", "diyauthorid": "0", "diyauthordata": null, "diyauthorfields": null, "authorid": "0", "comefrom": "app_mobile", "openid_qq": null, "openid_wx": null, "diymaxcredit": "0", "maxcredit": "0", "datavalue": "", "openid_wa": null, "nickname_wechat": "", "avatar_wechat": "", "updateaddress": "1", "membercardid": "", "membercardcode": "", "membershipnumber": "", "membercardactive": "0" }, "url": "https://127.0.0.1" } } <<< error { "status": 0, "result": { "message": "错误信息" } } ~~~ #### 更新资料 ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=apply.member.info.submit *string:openid=默认值#openid *string:realname=默认值#姓名 *string:mobile=默认值#手机号 *string:nickname=默认值#昵称 string:avatar=默认值#头像 string:weixin=默认值#微信号 string:birth=默认值#生日 年月日(1970-01-01) string:city=默认值# 省 市 (安徽-合肥) <<< success { "status": 1, } <<< error { "status": 0, "result": { "message": "错误信息" } } ~~~ #### 头像上传 ~~~[api] POST:https://127.0.0.1/app/index.php?i=4&c=entry&m=ewei_shopv2&do=mobile&r=util.uploader.appupload *string:openid=默认值#openid <<< success { "status": 1, } <<< error { "status": 0, "result": { "message": "错误信息" } } ~~~