简要描述:

  • 查询指定会员

请求域名:

  • http://xx.com

请求URL:

GET/&route=member.member.search-member

参数:

参数名 是否必须 类型 说明
parent int 会员id

返回示例:

正确时返回:


{
	"result": 1,
	"msg": "ok",
	"data": {
		"members": {
			"uid": 164933,
			"uniacid": 1,
			"mobile": "13226204069",
			"email": "",
			"groupid": 0,
			"credit1": "0.00",
			"credit2": "0.00",
			"credit3": "0.00",
			"credit4": "0.00",
			"credit5": "0.00",
			"credit6": "0.00",
			"createtime": 1596521151,
			"realname": "文",
			"nickname": "13226204069",
			"signature": null,
			"avatar": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2019/04/tWMW4dK4vlxk2Zb29mGC922m82bwg2.jpg",
			"qq": "",
			"vip": 0,
			"gender": 0,
			"birthyear": 0,
			"birthmonth": 0,
			"birthday": 0,
			"constellation": "",
			"zodiac": "",
			"telephone": "",
			"idcard": "",
			"studentid": "",
			"grade": "",
			"address": "",
			"zipcode": "",
			"nationality": "",
			"resideprovince": "",
			"residecity": "",
			"residedist": "",
			"graduateschool": "",
			"company": "",
			"education": "",
			"occupation": "",
			"position": "",
			"revenue": "",
			"affectivestatus": "",
			"lookingfor": "",
			"bloodtype": "",
			"height": "",
			"weight": "",
			"alipay": "",
			"msn": "",
			"taobao": "",
			"site": "",
			"bio": "",
			"interest": "",
			"pay_password": "0",
			"avatar_image": "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2019/04/tWMW4dK4vlxk2Zb29mGC922m82bwg2.jpg",
			"username": "13226204069"
		}
	}
}


{
	"result": 1,
	"msg": "ok",
	"data": {
		"members": {
			"uid": 0,
			"nickname": "总店"
		}
	}
}

错误时返回:

{
	"result": 0,
	"msg": "参数错误",
	"data": []
}

data.members返回参数说明:只解释了可能需要用到的参数(当参数传值为0时返回总店)

参数名 类型 说明
uid int 会员id
mobile string 绑定手机
email string 邮箱
groupid int 会员组id
avatar string 头像
nickname string 昵称
realname string 真实姓名
createtime int 注册时间
avatar_image string 会员头像
username string 会员姓名

备注:

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