简要描述:
请求域名:
- http://xx.com
请求URL:
plugin.debt-shop.frontend.owner.debtorList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
is_use | 否 | int | 传1时只显示能进店的店铺 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"status": 1,
"owner_id": 4,
"common_credit": "5.00",
"frozen_credit": "1000.00",
"end_time": 1679500800,
"debtor_id": 1,
"debtor_uid": 164936,
"has_many_order_count": 2,
"status_name": "化债中",
"start_time_str": "",
"end_time_str": "2023-03-23",
"invalid_time_str": "",
"is_expire":0,
"has_one_debtor_member": {
"uid": 164936,
"nickname": "",
"avatar": "/static/images/photo-mr.jpg",
"avatar_image": "http://zouye.yunzmall.com/static/images/photo-mr.jpg",
"username": ""
},
"has_one_debtor": {
"id": 1,
"uid": 164936,
"status": 1,
"end_time": 2057932800,
"name": "23333",
"member_type_name": "",
"sex_name": "",
"status_name": "",
"identity_front_image_url": "",
"identity_back_image_url": "",
"business_pics_url": [],
"agreement_pics_url": [],
"another_pics_url": [],
"end_time_str": "2035-03-20"
},
"has_one_owner": {
"id": 4,
"uid": 164935,
"status": 1,
"end_time": 1711036800,
"name": "姓名",
"member_type_name": "",
"sex_name": "",
"status_name": "",
"identity_front_image_url": "",
"identity_back_image_url": "",
"business_pics_url": [],
"agreement_pics_url": [],
"another_pics_url": [],
"end_time_str": "2024-03-22"
}
}
],
"first_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://zouye.yunzmall.com/addons/yun_shop/api.php?page=1",
"next_page_url": null,
"path": "http://zouye.yunzmall.com/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
data.data[].id | int | 关联ID |
data.data[].is_expire | int | 能否进店 0能 1不能 |
data.data[].status | int | 状态 0待绑定 1化债中 -2已解绑 -3已失效 |
data.data[].status_name | string | 状态名 |
data.data[].has_one_owner.end_time_str | string | 身份有效期 |
data.data[].end_time_str | string | 化债期 |
data.data[].has_many_order_count | int | 订单数量 |
data.data[].common_credit | float | 可用提货券 |
data.data[].frozen_credit | float | 冻结提货券 |
data.data[].has_one_debtor_member | object | 债务人会员信息 |
data.data[].has_one_debtor.name | string | 债务人姓名 |
data.data[].has_one_debtor.status | int | 债务人身份状态 0待绑定 1化债中 -1已过期 -2已解绑 -3已失效,债权人和债务人都为1时才能进入店铺 |
data.data[].has_one_owner.status | int | 债权人身份状态 0待绑定 1化债中 -1已过期 -2已解绑 -3已失效,债权人和债务人都为1时才能进入店铺,该值为-1时显示续费 |