简要描述:

-会员管理列表

请求URL:

&route=plugin.shop-assistant.frontend.member.member-list

请求参数说明:

参数名 类型 是否必需 说明
page int 页码
search[keyword] string否 搜索内容

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "ok",
	"data": {
		"current_page": 1,
		"data": [
			{
				"uid": 164934,
				"avatar": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2019/04/tWMW4dK4vlxk2Zb29mGC922m82bwg2.jpg",
				"nickname": "13226204088",
				"realname": "",
				"mobile": "13226204088",
				"createtime": 1609999800,
				"credit1": "1183.00",
				"credit2": "125.00",
				"is_old": 0,
				"mark_member_id": 0,
				"avatar_image": "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2019/04/tWMW4dK4vlxk2Zb29mGC922m82bwg2.jpg",
				"username": "13226204088",
				"yz_member": {
					"member_id": 164934,
					"parent_id": 0,
					"level_id": 0,
					"level": {
						"level_name": "普通会员1"
					}
				}
			},
			{
				"uid": 164933,
				"avatar": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2019/04/tWMW4dK4vlxk2Zb29mGC922m82bwg2.jpg",
				"nickname": "13226204069",
				"realname": "",
				"mobile": "13226204069",
				"createtime": 1609999544,
				"credit1": "0.00",
				"credit2": "0.00",
				"is_old": 0,
				"mark_member_id": 0,
				"avatar_image": "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2019/04/tWMW4dK4vlxk2Zb29mGC922m82bwg2.jpg",
				"username": "13226204069",
				"yz_member": {
					"member_id": 164933,
					"parent_id": 0,
					"level_id": 0,
					"level": {
						"level_name": "普通会员1"
					}
				}
			}
		],
		"first_page_url": "http://yzmall.com/addons/yun_shop/api.php?page=1",
		"from": 1,
		"last_page": 547,
		"last_page_url": "http://yzmall.com/addons/yun_shop/api.php?page=547",
		"next_page_url": "http://yzmall.com/addons/yun_shop/api.php?page=2",
		"path": "http://yzmall.com/addons/yun_shop/api.php",
		"per_page": 2,
		"prev_page_url": null,
		"to": 2,
		"total": 1093
	}
}

返回参数说明:

参数名 类型 说明
uid int 会员ID
avatar string 头像
nickname string 昵称
credit1 float 积分
credit2 float 余额
yz_member array 会员子信息

yz_member返回参数说明:

参数名 类型 说明
member_id int 会员ID
level_id int 等级ID
level array 等级信息

level返回参数说明:

参数名 类型 说明
level_name string 等级名

错误时返回:

{
    "result": 0,
    "msg": "请登录",
    "data": []
}