阅读背景:

account

来源:互联网 
Account Doc V3_ADD 1. 用户头像 用户头像今后会放在阿里云上,所以: dev: http(s)://pyserver.oss-cn-hangzhou.aliyuncs.com/DEV-UH-<int: user_id>.png api: http(s)://pyserver.oss-cn-hangzhou.aliyuncs.com/LINE-UH-<int: user_id>.png 上传的时候,非png的图片,也做png处理。 login path: /account/login.<action> action: params: mobile password v1_add client_id 111111 v1_add client_name qqqqqq action: smstoken params: mobile token return: { 'alc': user login token, v3_add "is_share_0": 0, v3_add "is_share_1": 0, v3_add "is_share_2": 0, v3_add "is_share_3": 0 **user info } register path: /account/register.<action> action: params: mobile token password permission --pid 省id --cid 市id --rekid 推荐人id return: {'data': 'OK'} action: fast params: mobile permission token --pid --cid return: {'data': 'OK'} user info path: /account/info params: alc return: { "id": int user_id, "nickname": username, "gender": int 性别, "permission": int 账号权限, "invitation_code": int or null 邀请人ID, "head_img": 头像url, "star": int 星级, "mobile": str 手机号, "call_mobile": str 联系手机号, "is_vip": bool 是否VIP, "vip_end": str VIP到期时间, "real_auth_status": int 实名认证状态, "is_private": int 控制是否公开显示 "withdraw_passwd": int 是否设置支付密码;0:没有 1:有 v5_add: "pay_code": int 是否设置支付密码;0:没有 1:有 ----------------> 手势密码 "auto_vip": int 自动续费 0:关闭 1:开启, "province_id": int 注册省id } user info edit path: /account/edit.<action> action: nickname params: username action: headerimg params: img return: {'url': path} action: callmobile params: mobile action: resetpassword params: mobile token password action: switch_private 切换公开显示状态 real auth path: /account/realauth.<action> action: baseinfo params: realname idcard action: img0 params: img file action: img1 params: img file v1_add action: img2 手持身份证 params: img file errors: Processing 正在处理 Same ID Card Img 相同的图片 Realauth In Effect 实名认证在有效期内 get vip path: /account/get_vip return: { 'data': { 'path': '/pay/envip?btk=*****' }, 'code': 901 } reset password path: /account/rePassword params: mobile token password bind path: /account/bind.<action> action: bank params: step: -1 return: {'real_name': ""} step: 0 card_no: "123123123123" return: { "en": "", "bank_name": "", "card_no": "", "card_type": 1(int), "sign": "" } step: 1 mobile: 15553839052 return: OK v2_add set info path: /account/set.<action> action: wdcode params: wdcode 提现码 mobile 手机号 token 短信验证token 支付密码设置和更新 path: /account/withdraw_passwd.<action> action: set :首次设置密码 params: wdcode 提现密码 update :更新密码 params: mobile 手机号 token 手机验证码 wdcode 提现密码 return: { 'data':'OK', 'code': 200 } 用户设置自动续费 path: /account/auto_vip return: { 'data':'OK', 'code': {'status':1} } debind 解绑 path: /account/debind.<action> action: bank params: card_no: '123123123123123' return: {"data": "OK"} 收货地址功能 path: /account/shopping_address.<string:action> params: action=del #删除地址 id 收货地址数据的id action=add #添加地址 name 姓名 mobile 联系方式 area 所在地区 address 详细地址 action=update #更新地址 id 收货地址数据的id name 姓名 mobile 联系方式 area 所在地区 address 详细地址 action=info #地址信息 return: {"data": 'OK'} 用户查看共享信息 自己: path: /account/share_info method: GET params: alc 别人: path: /account/share_info_other.<int:uid>.<string:pwd> method: GET return: { "code": 0, "message": "", "data": { "nickname": "快工924", #用户名 "head_img": "https://dev.zjkgwl.com/static/upload/924/49fbdbec0a66202ab23f705ab878906f.png", #头像 "mobile": "17621032219", "id": 924, #user id "uid": 924, #user id "come_from": "df", #籍贯 "living_plath": "df",现居住地 "working_life": 1,工作年限 "age": 1,年龄 "religion": "1",宗教 "nation": "1",民族 "is_married": true,是否已婚(true:已婚,false:未婚) "height": 1,身高 "gender": 0 女 1:男 "history_list": [ { "id": 1, #不用管 "uid": 924,#不用管 "company_name": "1",公司名称 "type_work": "1",工种 "project_name": "1",项目名称 "start_time": "1",开工时间 "end_time": "1",结束时间 "total_time": "1",总时间 "project_note": "1",项目描述 "duty_note": "1"责任描述 } ] } } 查看自己的共享类型 path: /account/share_types returns: { is_share_0: 1 ... } 根据id返回用户名 path: /account/get_name/<int:id> method:GET returns: { "code": 0, "message": "", "data": "微丶凉" } 电话 path: /account/call.<int uid> parsmas: alc return: {"mobile": "121212121"}Account Doc V3_ADD 1. 用户头像 用户头像今后会放在阿里云上,所以: dev:


你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: