简要描述:
- 会员列表
请求域名:
- http://test.yunzshop.com
请求URL:
POST: route=member.member.show
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
search[mid] | 否 | int | 搜索会员id |
search[name_type] | 否 | int | 搜索类型 0-昵称;1-姓名;2-手机号 |
search[realname] | 否 | string | 搜索类型值 |
search[first_count] | 否 | int | 一级人数 |
search[second_count] | 否 | int | 二级人数 |
search[team_count] | 否 | int | 团队人数 |
search[custom_value] | 否 | string | 自定义字段 |
search[level] | 否 | int | 会员等级 0-普通会员;会员等级动态获取 |
search[groupid] | 否 | int | 会员分组 动态获取 |
search[isagent] | 否 | int | 推广员 0-否;1-是 |
search[followed] | 否 | int | 不限关注 0-未关注;1-已关注 |
search[isblack] | 否 | int | 不限黑名单 0-否;1-是 |
search[searchtime] | 否 | int | 时间 0-注册时间不限; 1-搜索注册时间 |
search[times][start] | 否 | int | 开始时间 |
search[itimes][end] | 否 | int | 结束时间 |
page | 否 | int | 列表分页 |
返回示例:
正确时返回:
{
"result":1,
"msg":"ok",
"data":{
"list":{
"current_page":1,
"data":[
{
"uid":164859,
"avatar":"http:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/newimage\/1738e5aa198e375a2d84e2c7c7258883.png",
"nickname":"17620803842",
"realname":"",
"mobile":"17620803842",
"createtime":1633772803,
"credit1":"0.00",
"credit2":"0.00",
"is_old":0,
"mark_member_id":0,
"avatar_image":"https:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/newimage\/1738e5aa198e375a2d84e2c7c7258883.png",
"username":"17620803842",
"yz_member":{
"member_id":164859,
"parent_id":0,
"inviter":1,
"is_agent":0,
"group_id":0,
"level_id":0,
"is_black":0,
"withdraw_mobile":"",
"is_old":0,
"agent":null,
"group":null,
"level":null
},
"has_one_fans":null,
"has_one_order":null,
"has_one_mini_app":null,
"has_one_unique":null,
"has_one_wechat":null,
"has_one_douyin":null
},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...},
Object{...}
],
"first_page_url":"http:\/\/www.shop.com\/admin\/shop?page=1",
"from":1,
"last_page":49,
"last_page_url":"http:\/\/www.shop.com\/admin\/shop?page=49",
"next_page_url":"http:\/\/www.shop.com\/admin\/shop?page=2",
"path":"http:\/\/www.shop.com\/admin\/shop",
"per_page":20,
"prev_page_url":null,
"to":20,
"total":972
},
"levels":[
{
"id":1,
"uniacid":4,
"level":1,
"level_name":"\u9ed1\u94c1\u4f1a\u545823442342",
"order_money":"10000",
"order_count":"1",
"goods_id":"1,2",
"discount":"0",
"created_at":"2019-04-16 10:11:26",
"updated_at":"2021-10-19 15:01:17",
"deleted_at":null,
"is_default":0,
"validity":105,
"freight_reduction":"0",
"interests_rules":null,
"description":"<p>12321<\/p>",
"team_performance":"23232.00",
"balance_recharge":"2000.00"
},
Object{...},
Object{...},
Object{...}
],
"groups":[
],
"endtime":1634639181,
"starttime":1632047181,
"total":972,
"pager":"<div><ul class=\"pagination pagination-centered\"><li class=\"active\"><a href=\"javascript:;\">1<\/a><\/li><li><a href=\"?route=member.member.show&page=2\">2<\/a><\/li><li><a href=\"?route=member.member.show&page=3\">3<\/a><\/li><li><a href=\"?route=member.member.show&page=4\">4<\/a><\/li><li><a href=\"?route=member.member.show&page=5\">5<\/a><\/li><li><a href=\"?route=member.member.show&page=6\">6<\/a><\/li><li><a href=\"?route=member.member.show&page=7\">7<\/a><\/li><li><a href=\"?route=member.member.show&page=8\">8<\/a><\/li><li><a href=\"?route=member.member.show&page=9\">9<\/a><\/li><li><a href=\"?route=member.member.show&page=10\">10<\/a><\/li><li><a href=\"?route=member.member.show&page=2\" class=\"pager-nav\">\u4e0b\u4e00\u9875»<\/a><\/li><li><a href=\"?route=member.member.show&page=49\" class=\"pager-nav\">\u5c3e\u9875<\/a><\/li><li><input type='text' id='jump' style='width: 25px; height: 25px;'><\/li><li><a onclick =getkey(this,49) class=\"pager-nav\" style='float: right;' >\u8df3\u8f6c<\/a><\/li><\/ul><\/div>",
"request":{
},
"set":{
"headimg":"images\/4\/2017\/06\/POVZokLAj0jjjVJkjAaAcB0Eeyjr1o.png",
"level_name":"\u666e\u901a\u4f1a\u5458",
"level_url":"",
"level_type":"0",
"is_bind_mobile":"0",
"is_referrer":"0"
},
"opencommission":1,
"is_customers":0
}
}
参数说明:
参数名 | 类型 | 说明 |
---|---|---|
['uid'] | int | 会员id |
['realname'] | string | 姓名 |
['mobile'] | string | 手机号码 |
['createtime'] | time stamp | 注册时间 |
['credit1'] | string | 积分 |
['credit2'] | string | 余额 |
['has_one_order']['total'] | int | 订单 为空便是0 |
['has_one_order']['sum'] | int | 金额 |
['has_one_fans']['followed'] | int | 关注 0=未关注1=已关注 |
['has_one_mini_app'] | string | 小程序 为空不显示小程序图标 |
['has_one_wechat'] | string | app 为空不显示app图标 |
['has_one_unique'] | string | 微信开放平台 为空不显示图标 |
['has_one_alipay'] | string | 支付宝 为空不显示图标 |
['has_one_douyin'] | string | 抖音 为空不显示图标 |
['has_one_customers'] | string | 企业微信 为空不显示图 |