简要描述:

请求域名:

  • http://xx.com

请求URL:

route=plugin.debt-shop.admin.vip.index

参数:

参数名 是否必须 类型 说明
is_json int 不传进入页面模板文件,传1获取接口数据
page int 页数
owner_uid int 债权人会员ID
owner_kwd string 债权人会员昵称/姓名/手机号
debtor_uid int 债务人会员ID
debtor_kwd string 债务人会员昵称/姓名/手机号
vip_uid int vip会员ID
vip_kwd string vip会员昵称/姓名/手机号
status int 0待绑定 1化债中 -2已解绑 -3已过期
time_search string vip_end_time:身份到期时间,invalid_time:失效时间
time_arr arr 时间戳范围数组

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 4,
                "vip_id": 10,
                "vip_uid": 164951,
                "owner_uid": 164935,
                "debtor_uid": 164936,
                "common_credit": "10.00",
                "frozen_credit": "0.00",
                "status": 1,
                "status_name": "化债中",
                "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_member": {
                    "uid": 164936,
                    "nickname": "",
                    "avatar": "/static/images/photo-mr.jpg",
                    "avatar_image": "http://zouye.yunzmall.com/static/images/photo-mr.jpg",
                    "username": ""
                },
                "has_one_vip_member": {
                    "uid": 164951,
                    "nickname": "",
                    "avatar": "/static/images/photo-mr.jpg",
                    "avatar_image": "http://zouye.yunzmall.com/static/images/photo-mr.jpg",
                    "username": ""
                },
                "has_one_vip": {
                    "id": 10,
                    "status": 0,
                    "end_time": 1679673600,
                    "start_time": 1648188500,
                    "invalid_time": null,
                    "end_time_str": "2023-03-25",
                    "invalid_time_str": "-",
                    "member_type_name": "",
                    "sex_name": "",
                    "status_name": "",
                    "identity_front_image_url": "",
                    "identity_back_image_url": "",
                    "business_pics_url": [],
                    "agreement_pics_url": [],
                    "another_pics_url": []
                }
            }
        ],
        "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": 1,
        "total": 1
    }
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明
data.data[].id int 关联ID
data.data[].common_credit float 消费账户
data.data[].status_name string 状态名
data.data[].has_one_owner_member object 关联债权人会员信息
data.data[].has_one_debtor_member object 关联债务人会员信息
data.data[].has_one_vip_member object 关联VIP会员信息
data.data[].has_one_vip.end_time_str string 过期时间
data.data[].invalid_time_str string 失效时间,为空字符串时不显示