简要描述:
请求域名:
- http://xx.com
请求URL:
route=plugin.debt-shop.admin.connection.index
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
is_json | 否 | int | 不传进入页面模板文件,传1获取接口数据 |
page | 是 | int | 页数 |
owner_uid | 否 | int | 债权人会员ID |
owner_kwd | 否 | string | 债权人会员昵称/姓名/手机号 |
debtor_uid | 否 | int | 债务人会员ID |
debtor_kwd | 否 | string | 债务人会员昵称/姓名/手机号 |
status | 否 | int | 0待绑定 1化债中 -2已解绑 -3已过期 |
time_search | 否 | string | owner_end_time:债权人身份到期时间,debtor_end_time:债务人身份到期时间,invalid_time:失效时间,debt_time:化债期起始时间 |
time_arr | 否 | arr | 时间戳范围数组 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"status": 1,
"debtor_uid": 164936,
"owner_uid": 164935,
"debtor_id": 1,
"owner_id": 4,
"start_time": 1648019510,
"end_time": 1679500800,
"common_debtor_income": "100.00",
"frozen_debtor_income": "99.00",
"debtor_credit": "0.00",
"common_credit": "0.00",
"frozen_credit": "999.00",
"order_price": 0,
"status_name": "化债中",
"start_time_str": "2022-03-23",
"end_time_str": "2023-03-23",
"invalid_time_str": "",
"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_owner_member": {
"uid": 164935,
"nickname": "13*******18",
"avatar": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.jj20.com%2Fup%2Fallimg%2F4k%2Fs%2F02%2F2109242332225H9-0-lp.jpg&refer=http%3A%2F%2Fimg.jj20.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1648801528&t=b4799f132cb208cd29e5ce7c360c8ce0",
"avatar_image": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.jj20.com%2Fup%2Fallimg%2F4k%2Fs%2F02%2F2109242332225H9-0-lp.jpg&refer=http%3A%2F%2Fimg.jj20.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1648801528&t=b4799f132cb208cd29e5ce7c360c8ce0",
"username": "13*******18"
},
"has_one_debtor": {
"id": 1,
"end_time": 2026396800,
"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": "2034-03-20"
},
"has_one_owner": {
"id": 4,
"end_time": 1679500800,
"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": "2023-03-23"
}
},
{
"id": 3,
"status": 1,
"debtor_uid": 164939,
"owner_uid": 164940,
"debtor_id": 8,
"owner_id": 9,
"start_time": 1648173451,
"end_time": 1663689600,
"common_debtor_income": "0.00",
"frozen_debtor_income": "0.00",
"debtor_credit": "0.00",
"common_credit": "0.00",
"frozen_credit": "999.00",
"order_price": 0,
"status_name": "化债中",
"start_time_str": "2022-03-25",
"end_time_str": "2022-09-21",
"invalid_time_str": "",
"has_one_debtor_member": {
"uid": 164939,
"nickname": "",
"avatar": "/static/images/photo-mr.jpg",
"avatar_image": "http://zouye.yunzmall.com/static/images/photo-mr.jpg",
"username": ""
},
"has_one_owner_member": {
"uid": 164940,
"nickname": "",
"avatar": "/static/images/photo-mr.jpg",
"avatar_image": "http://zouye.yunzmall.com/static/images/photo-mr.jpg",
"username": ""
},
"has_one_debtor": {
"id": 8,
"end_time": 1679673600,
"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": "2023-03-25"
},
"has_one_owner": {
"id": 9,
"end_time": 1679673600,
"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": "2023-03-25"
}
}
],
"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[].has_one_owner.end_time_str | string | 债权人过期时间 |
data.data[].has_one_debtor.end_time_str | string | 债务人过期时间 |
data.data[].has_one_owner_member | object | 债权人会员信息 |
data.data[].has_one_debtor_member | object | 债务人会员信息 |
data.data[].common_debtor_income | float | 可用收入 |
data.data[].frozen_debtor_income | float | 冻结收入 |
data.data[].debtor_credit | float | 采购金 |
data.data[].order_price | float | 订单总计 |
data.data[].common_credit | float | 可用提货券 |
data.data[].frozen_credit | float | 冻结提货券 |
data.data[].start_time_str | string | 化债期开始时间 |
data.data[].end_time_str | string | 化债期结束时间 |