简要描述:
请求域名:
- http://xx.com
请求URL:
route=plugin.debt-shop.admin.debtor.index
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
is_json | 否 | int | 不传进入页面模板文件,传1获取接口数据 |
page | 是 | int | 页数 |
uid | 否 | int | 会员ID |
member_kwd | 否 | string | 会员昵称/姓名/手机号 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [
{
"uid": 164936,
"connection_id": 1,
"id": 1,
"vip_count": 0,
"owner_count": 1,
"common_debtor_income": "100.00",
"frozen_debtor_income": "99.00",
"order_price": 16.02,
"member_type_name": "",
"sex_name": "",
"status_name": "",
"identity_front_image_url": "",
"identity_back_image_url": "",
"business_pics_url": [],
"agreement_pics_url": [],
"another_pics_url": [],
"has_one_member": {
"uid": 164936,
"nickname": "",
"avatar": "/static/images/photo-mr.jpg",
"mobile": "",
"avatar_image": "http://zouye.yunzmall.com/static/images/photo-mr.jpg",
"username": ""
}
},
{
"uid": 164939,
"connection_id": 2,
"id": 5,
"vip_count": 0,
"owner_count": 1,
"common_debtor_income": "0.00",
"frozen_debtor_income": "0.00",
"order_price": 0,
"member_type_name": "",
"sex_name": "",
"status_name": "",
"identity_front_image_url": "",
"identity_back_image_url": "",
"business_pics_url": [],
"agreement_pics_url": [],
"another_pics_url": [],
"has_one_member": {
"uid": 164939,
"nickname": "",
"avatar": "/static/images/photo-mr.jpg",
"mobile": "",
"avatar_image": "http://zouye.yunzmall.com/static/images/photo-mr.jpg",
"username": ""
}
}
],
"first_page_url": "http://zouye.yunzmall.com/admin/shop?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://zouye.yunzmall.com/admin/shop?page=1",
"next_page_url": null,
"path": "http://zouye.yunzmall.com/admin/shop",
"per_page": 15,
"prev_page_url": null,
"to": 2,
"total": 2
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
data.data[].uid | int | 会员ID |
data.data[].vip_count | int | VIP关联数 |
data.data[].debtor_count | int | 债务人关联数 |
data.data[].common_debtor_income | float | 可用收入 |
data.data[].frozen_debtor_income | float | 冻结收入 |
data.data[].order_price | float | 订单价格 |
data.data[].has_one_member | object | 债务人会员信息 |