简要描述:

  • 绑定手机号页面

请求域名:

  • http://xx.com

请求URL:

GET/route=member.register.bind-mobile-page

参数:

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "",
	"data": {
		"mobile": "15886404095",
		"is_password": "1",
		"top_img": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2022/04/b6832971da780bc9b61142fd3805b286.jpeg",
		"get_captcha": {
			"captcha": {
				"status": "0"
			}
		},
		"register_basic_info": [
			{
				"name": "姓名",
				"field": "name",
				"must": 0,
				"value": "1588640409"
			},
			{
				"name": "性别",
				"field": "sex",
				"must": 1,
				"value": 1
			},
			{
				"name": "详细地址",
				"field": "address",
				"must": 0,
				"value": {
					"province": "",
					"city": "",
					"area": "",
					"province_name": "",
					"city_name": "",
					"area_name": "",
					"address": ""
				}
			},
			{
				"name": "生日",
				"field": "birthday",
				"must": 0,
				"value": {
					"birthyear": "",
					"birthmonth": "",
					"birthday": ""
				}
			}
		],
		"fixed_diy_field": [
			{
				"name": "12333",
				"field": "custom_value",
				"must": 1,
				"value": ""
			}
		],
		"diy_field": {
			"form_edit": 0,
			"form_open": 0,
			"form": [
				{
					"name": "cs1",
					"field": "cs1",
					"value": ""
				},
				{
					"name": "cs2",
					"field": "cs2",
					"value": ""
				},
				{
					"name": "产生",
					"field": "chansheng",
					"value": ""
				},
				{
					"name": "cs3",
					"field": "cs3",
					"value": ""
				}
			]
		},
		"diy_form": {
			"status": 1,
			"variable": null,
			"json": {
				"id": 21,
				"uniacid": 1,
				"title": "姓名",
				"fields": {
					"diyzhanghao": {
						"data_type": "88",
						"tp_name": "账号",
						"tp_must": 1,
						"placeholder": ""
					},
					"diyxuanzeshengshi": {
						"data_type": "9",
						"tp_name": "选择省市",
						"tp_must": 0,
						"tp_area": 0
					},
					"diyshengshiqu": {
						"data_type": "9",
						"tp_name": "省市区",
						"tp_must": 0,
						"tp_area": 1
					}
				},
				"status": 1,
				"success": "0",
				"submit_number": 0,
				"created_at": null,
				"updated_at": "2022-05-13 15:36:53",
				"deleted_at": null,
				"thumb": "",
				"description": "",
				"share_description": "",
				"form_type": {
					"diyzhanghao": {
						"data_type": "88",
						"tp_name": "账号",
						"tp_must": 1,
						"placeholder": ""
					},
					"diyxuanzeshengshi": {
						"data_type": "9",
						"tp_name": "选择省市",
						"tp_must": 0,
						"tp_area": 0
					},
					"diyshengshiqu": {
						"data_type": "9",
						"tp_name": "省市区",
						"tp_must": 0,
						"tp_area": 1
					}
				}
			}
		},
		"agreement": {
			"status": 1,
			"title": "注册协议1",
			"default_tick": 1,
			"content": "<p>注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册1协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议<img src=\"https://ysm-1251768088.cos.ap-guangzhou.myqcloud.com/newimage/488e1bd915bd031faa6c4ef1dd88f8c1.jpeg\" /><img src=\"https://ysm-1251768088.cos.ap-guangzhou.myqcloud.com/newimage/902f499e5477386b4d75cabc7ba4695e.jpg\" />1注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协 注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协议注册协&nbsp;</p>"
		}
	}
}

错误时返回:

  {
    "result": 0,
    "msg": "获取失败"
  }

返回参数说明:

参数名 类型 说明
is_password int 是否需要密码,1是0否
top_img string 顶部图片
register_basic_info array 基础字段信息
fixed_diy_field array 自定义字段信息(固定)
diy_field array 自定义字段信息
diy_form array 按之前接口格式返回,自定义表单信息
get_captcha array 按之前的接口格式返回的,图形验证码相关数据
getInviteCode array 按之前的接口格式返回的,邀请码相关数据
agreement array 注册协议内容

register_basic_info 返回参数说明:

参数名 类型 说明
name string 字段名称
field string 字段参数名
must int 是否必填,1是0否
value string、array 回显值,生日及地址是数组
  {
    	"province": "", //省ID
    	"city": "",//市ID
    	"area": "",//区ID
    	"province_name": "",//省名
    	"city_name": "",//市名
    	"area_name": "",//区名
    	"address": ""//详细地址
  }
   {
		"birthyear": "",//生日年份
		"birthmonth": "",//生日月份
		"birthday": ""//生日天
	}

fixed_diy_field 返回参数说明:

参数名 类型 说明
name string 字段名称
field string 字段参数名
must int 是否必填,1是0否
value string、array 回显值

diy_field 返回参数说明:

参数名 类型 说明
form_edit int 前端禁止编辑,1禁止0否
form_open int 自定义必填开启,1开0关
form.name string 字段名称
form.field string 字段参数名
form.value string、array 回显值

agreement 返回参数说明:

参数名 类型 说明
status int 协议是否开启,1开0关
title title 协议名称
default_tick int 自动勾选,1是0否
content string 协议内容

备注:

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