简要描述:

请求域名:

  • http://xx.com

请求URL:

plugin.debt-shop.frontend.debtor.refundList

参数:

参数名 是否必须 类型 说明
status int或arr 售后状态 0待审核 1已通过 -1债务人驳回 -2商城驳回,多状态使用一维数组,单状态使用整数

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 3,
                "order_id": 22288,
                "examine_time": null,
                "created_at": "2022-04-06 15:55:59",
                "status": 0,
                "refund_id": 27,
                "examine_time_str": "",
                "status_name": "待审核",
                "has_one_order": {
                    "id": 22288,
                    "order_sn": "SN2204021703DC67F3",
                    "price": "0.00",
                    "status_name": "待付款",
                    "pay_type_name": "未支付",
                    "process": [],
                    "has_one_pay_type": null
                }
            },
            {
                "id": 2,
                "order_id": 22298,
                "examine_time": null,
                "created_at": "2022-04-06 15:35:24",
                "status": 0,
                "refund_id": 26,
                "examine_time_str": "",
                "status_name": "待审核",
                "has_one_order": {
                    "id": 22298,
                    "order_sn": "SN220406153424C734",
                    "price": "0.00",
                    "status_name": "待付款",
                    "pay_type_name": "未支付",
                    "process": [],
                    "has_one_pay_type": null
                }
            },
            {
                "id": 1,
                "order_id": 22290,
                "examine_time": null,
                "created_at": "2022-04-06 15:27:16",
                "status": 0,
                "refund_id": 25,
                "examine_time_str": "",
                "status_name": "待审核",
                "has_one_order": {
                    "id": 22290,
                    "order_sn": "SN220402174468E0F3",
                    "price": "0.00",
                    "status_name": "待付款",
                    "pay_type_name": "未支付",
                    "process": [],
                    "has_one_pay_type": null
                }
            }
        ],
        "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": 3,
        "total": 3
    }
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明
data.data.id int 插件售后ID
data.data.refund_id int 商城售后ID
data.data.status int 售后状态 0待审核 1已通过 -1债务人驳回 -2商城驳回
data.data.status_name string 售后状态名
data.data.created_at string 申请时间
data.data.examine_time_str string 审核时间
data.data.has_one_order.order_sn string 订单号