简要描述:

  • 新版用户注册接口

action

member.member-info.user-info-save

参数:

参数名 是否必须 类型 说明
nickname 否 string 昵称
avatar 否 string 头像
name 否 string 姓名
gender 否 int 性别
address 否 array 详细地址
birthday 否 string 生日:2022-06-07
custom_value 否 string 自定义字段-固定
customDatas 否 obj 自定义字段数据

address参数:

参数名 是否必须 类型 说明
province 是 string 省ID
city 是 string 市ID
area 是 string 区/镇ID
province_name 是 string 省名
city_name 是 string 市名
area_name 是 string 区/镇名
address 是 string 详细地址

customDatas参数:js对象

参数名 是否必须 类型 说明
键 是 string 字段的pinyin(注册页返回的field值)
值 是 string 用户填写的内容

返回示例:

正确时返回:

  {
    "status": 1,
    "result": {
      "member_id": 1
    }
  }

错误时返回:

  {
    "result": 0,
    "msg": '保存失败',
	"data":null
  }

返回参数说明:

无

备注:

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