阅读( 2 ) 我要纠错

简要描述:

  • 绑定手机页面接口

请求域名:

  • http://xx.com

请求URL:

GET/route=member.register.newApiData

参数:

参数名 是否必须 类型 说明
i 是 int 公众号

返回示例:

正确时返回:

  {
    "result": 1,
    "msg": "",
    "data": {
        "getInviteCode": {
            "status": 0,
            "required": 0,
            "country_code": "0",
            "invitation_code": null,
            "default_invite": ""
        },
        "get_register_diy_form": {
            "form_id": 28,
            "status": 1
        },
        "get_member_protocol": {
            "protocol": 1,
            "content": "

111

", "title": "", "register": { "top_img": "https://dev3.yunzmall.com/attachment/image/2bddb9a748fcd7678aa5e7ccac10491e.jpg", "top_img_url": "", "is_password": 0, "title1": "", "title2": "", "protocol": { "title": "", "status": 1, "content": "

111

" } }, "form": { "base": { "sex": "1", "address": "0", "birthday": "0" }, "form": null }, "custom_field": { "is_custom": "0", "custom_title": "sdas", "is_validity": true, "term": "1" }, "member": { "member_id": 17359, "province_name": "", "city_name": "", "area_name": "", "address": null, "custom_value": null, "member_form": null, "uid": 17359, "gender": 0, "birthyear": 0, "birthmonth": 0, "birthday": 0, "avatar_image": "https://dev3.yunzmall.com/attachment/image/12db3e8b0ccde931853195e537c4680a.jpg", "username": null } }, "get_captcha": { "captcha": { "status": "0" } }, "get_diy_form_by_id": { "id": 28, "uniacid": 15, "title": "aa", "fields": { "diymima": { "data_type": "99", "tp_name": "密码", "tp_must": 1, "placeholder": "12" }, "diyceshi": { "data_type": "4", "tp_name": "测试", "tp_must": 0, "tp_text": [ "1", "2", "3" ] }, "diytupian": { "data_type": "5", "tp_name": "图片", "tp_must": 0, "tp_max": 1 } }, "status": 1, "success": "0", "submit_number": 0, "created_at": null, "updated_at": "2020-10-28 16:05:05", "deleted_at": null, "thumb": "https://dev3.yunzmall.com/attachment/image/8f13c87b1bfba17f57ace80c61603335.jpg", "description": "

121212

", "share_description": "", "form_type": { "diymima": { "data_type": "99", "tp_name": "密码", "tp_must": 1, "placeholder": "12" }, "diyceshi": { "data_type": "4", "tp_name": "测试", "tp_must": 0, "tp_text": [ "1", "2", "3" ] }, "diytupian": { "data_type": "5", "tp_name": "图片", "tp_must": 0, "tp_max": 1 } } } } }

【getInviteCode】返回参数说明:

参数名 类型 说明
status int 邀请码开关:1-开启,0-关闭
required int 邀请码是否必填:1-必填,0-否
country_code int 国家区号是否显示:0-关闭
invitation_code string 邀请码
default_invite string 默认邀请码

返回参数说明:

参数名 类型 说明
get_member_protocol[register][is_password] int 是否开启密码设置

备注:

  • 更多返回错误代码请看首页的错误代码描述
×