简要描述:

  • 领取收益列表页

请求域名:

  • http://test.yunzshop.com

请求URL:

GET/&route=finance.plugin-settle.get-not-settle-list

参数:

参数名 是否必须 类型 说明
plugin_type string 插件标识

返回示例:

正确时返回:

{
    "result": 1, 
    "msg": "获取数据成功", 
    "data": {
        "type": "teamDividend", 
        "total": 5, 
        "per_page": 15,
		'last_page':1,
        "data": [
            {
                "id": 1, 
                "order_sn": "SN20171203202046Ax", 
                "amount": "39.80", 
                "order": {
                    "id": 656, 
                    "uniacid": 6, 
                    "uid": 2461, 
                    "order_sn": "SN20171203202046Ax", 
                    "price": "200.00", 
                    "goods_price": "200.00", 
                    "goods_total": 1, 
                    "status": 3, 
                    "create_time": "2017-12-03 20:20:46", 
                    "is_deleted": 0, 
                    "is_member_deleted": 0, 
                    "finish_time": "2017-12-03 20:22:13", 
                    "pay_time": "2017-12-03 20:21:35", 
                    "send_time": "2017-12-03 20:21:55", 
                    "cancel_time": "1970-01-01 08:00:00", 
                    "created_at": 1512303646, 
                    "updated_at": 1512303733, 
                    "deleted_at": 0, 
                    "cancel_pay_time": "1970-01-01 08:00:00", 
                    "cancel_send_time": "1970-01-01 08:00:00", 
                    "dispatch_type_id": 1, 
                    "dispatch_price": "0.00", 
                    "discount_price": "0.00", 
                    "pay_type_id": 3, 
                    "order_goods_price": "200.00", 
                    "deduction_price": "0.00", 
                    "refund_id": 0, 
                    "is_plugin": 1, 
                    "change_price": "0.00", 
                    "change_dispatch_price": "0.00", 
                    "comment_status": 0, 
                    "order_pay_id": "1108", 
                    "plugin_id": 0, 
                    "is_virtual": 0, 
                    "mark": "0", 
                    "is_pending": 0, 
                    "status_name": "交易完成", 
                    "pay_type_name": "余额", 
                    "has_one_pay_type": {
                        "id": 3, 
                        "name": "余额", 
                        "plugin_id": 0, 
                        "code": "balance", 
                        "type": 1, 
                        "unit": "元", 
                        "updated_at": "2017-09-19 09:48:07", 
                        "created_at": null, 
                        "deleted_at": null, 
                        "setting_key": "shop.pay.credit", 
                        "need_password": 1
                    }
                }
            }, 
            {
                "id": 2, 
                "order_sn": "SN20171203202046Ax", 
                "amount": "39.80", 
                "order": {
                    "id": 656, 
                    "uniacid": 6, 
                    "uid": 2461, 
                    "order_sn": "SN20171203202046Ax", 
                    "price": "200.00", 
                    "goods_price": "200.00", 
                    "goods_total": 1, 
                    "status": 3, 
                    "create_time": "2017-12-03 20:20:46", 
                    "is_deleted": 0, 
                    "is_member_deleted": 0, 
                    "finish_time": "2017-12-03 20:22:13", 
                    "pay_time": "2017-12-03 20:21:35", 
                    "send_time": "2017-12-03 20:21:55", 
                    "cancel_time": "1970-01-01 08:00:00", 
                    "created_at": 1512303646, 
                    "updated_at": 1512303733, 
                    "deleted_at": 0, 
                    "cancel_pay_time": "1970-01-01 08:00:00", 
                    "cancel_send_time": "1970-01-01 08:00:00", 
                    "dispatch_type_id": 1, 
                    "dispatch_price": "0.00", 
                    "discount_price": "0.00", 
                    "pay_type_id": 3, 
                    "order_goods_price": "200.00", 
                    "deduction_price": "0.00", 
                    "refund_id": 0, 
                    "is_plugin": 1, 
                    "change_price": "0.00", 
                    "change_dispatch_price": "0.00", 
                    "comment_status": 0, 
                    "order_pay_id": "1108", 
                    "plugin_id": 0, 
                    "is_virtual": 0, 
                    "mark": "0", 
                    "is_pending": 0, 
                    "status_name": "交易完成", 
                    "pay_type_name": "余额", 
                    "has_one_pay_type": {
                        "id": 3, 
                        "name": "余额", 
                        "plugin_id": 0, 
                        "code": "balance", 
                        "type": 1, 
                        "unit": "元", 
                        "updated_at": "2017-09-19 09:48:07", 
                        "created_at": null, 
                        "deleted_at": null, 
                        "setting_key": "shop.pay.credit", 
                        "need_password": 1
                    }
                }
            }, 
            {
                "id": 3, 
                "order_sn": "SN20171202224623e7", 
                "amount": "39.80", 
                "order": {
                    "id": 653, 
                    "uniacid": 6, 
                    "uid": 2461, 
                    "order_sn": "SN20171202224623e7", 
                    "price": "204.00", 
                    "goods_price": "200.00", 
                    "goods_total": 1, 
                    "status": 3, 
                    "create_time": "2017-12-02 22:46:23", 
                    "is_deleted": 0, 
                    "is_member_deleted": 0, 
                    "finish_time": "2017-12-02 22:51:25", 
                    "pay_time": "2017-12-02 22:46:25", 
                    "send_time": "2017-12-02 22:51:20", 
                    "cancel_time": "1970-01-01 08:00:00", 
                    "created_at": 1512225983, 
                    "updated_at": 1512226285, 
                    "deleted_at": 0, 
                    "cancel_pay_time": "1970-01-01 08:00:00", 
                    "cancel_send_time": "1970-01-01 08:00:00", 
                    "dispatch_type_id": 1, 
                    "dispatch_price": "5.00", 
                    "discount_price": "0.00", 
                    "pay_type_id": 3, 
                    "order_goods_price": "199.00", 
                    "deduction_price": "0.00", 
                    "refund_id": 0, 
                    "is_plugin": 0, 
                    "change_price": "0.00", 
                    "change_dispatch_price": "0.00", 
                    "comment_status": 0, 
                    "order_pay_id": "1105", 
                    "plugin_id": 0, 
                    "is_virtual": 0, 
                    "mark": "0", 
                    "is_pending": 0, 
                    "status_name": "交易完成", 
                    "pay_type_name": "余额", 
                    "has_one_pay_type": {
                        "id": 3, 
                        "name": "余额", 
                        "plugin_id": 0, 
                        "code": "balance", 
                        "type": 1, 
                        "unit": "元", 
                        "updated_at": "2017-09-19 09:48:07", 
                        "created_at": null, 
                        "deleted_at": null, 
                        "setting_key": "shop.pay.credit", 
                        "need_password": 1
                    }
                }
            }, 
            {
                "id": 4, 
                "order_sn": "SN20171205152851O4", 
                "amount": "20.00", 
                "order": {
                    "id": 683, 
                    "uniacid": 6, 
                    "uid": 2461, 
                    "order_sn": "SN20171205152851O4", 
                    "price": "100.00", 
                    "goods_price": "100.00", 
                    "goods_total": 1, 
                    "status": 3, 
                    "create_time": "2017-12-05 15:28:51", 
                    "is_deleted": 0, 
                    "is_member_deleted": 0, 
                    "finish_time": "2017-12-05 15:28:53", 
                    "pay_time": "2017-12-05 15:28:52", 
                    "send_time": "2017-12-05 15:28:53", 
                    "cancel_time": "1970-01-01 08:00:00", 
                    "created_at": 1512458931, 
                    "updated_at": 1512458933, 
                    "deleted_at": 0, 
                    "cancel_pay_time": "1970-01-01 08:00:00", 
                    "cancel_send_time": "1970-01-01 08:00:00", 
                    "dispatch_type_id": 0, 
                    "dispatch_price": "0.00", 
                    "discount_price": "0.00", 
                    "pay_type_id": 3, 
                    "order_goods_price": "100.00", 
                    "deduction_price": "0.00", 
                    "refund_id": 0, 
                    "is_plugin": 0, 
                    "change_price": "0.00", 
                    "change_dispatch_price": "0.00", 
                    "comment_status": 0, 
                    "order_pay_id": "1132", 
                    "plugin_id": 31, 
                    "is_virtual": 1, 
                    "mark": "0", 
                    "is_pending": 0, 
                    "status_name": "交易完成", 
                    "pay_type_name": "余额", 
                    "has_one_pay_type": {
                        "id": 3, 
                        "name": "余额", 
                        "plugin_id": 0, 
                        "code": "balance", 
                        "type": 1, 
                        "unit": "元", 
                        "updated_at": "2017-09-19 09:48:07", 
                        "created_at": null, 
                        "deleted_at": null, 
                        "setting_key": "shop.pay.credit", 
                        "need_password": 1
                    }
                }
            }, 
            {
                "id": 6, 
                "order_sn": "SN20171205111810Gu", 
                "amount": "39.80", 
                "order": {
                    "id": 676, 
                    "uniacid": 6, 
                    "uid": 2461, 
                    "order_sn": "SN20171205111810Gu", 
                    "price": "204.00", 
                    "goods_price": "200.00", 
                    "goods_total": 1, 
                    "status": 3, 
                    "create_time": "2017-12-05 11:18:10", 
                    "is_deleted": 0, 
                    "is_member_deleted": 0, 
                    "finish_time": "2017-12-05 11:18:47", 
                    "pay_time": "2017-12-05 11:18:30", 
                    "send_time": "2017-12-05 11:18:37", 
                    "cancel_time": "1970-01-01 08:00:00", 
                    "created_at": 1512443890, 
                    "updated_at": 1512443927, 
                    "deleted_at": 0, 
                    "cancel_pay_time": "1970-01-01 08:00:00", 
                    "cancel_send_time": "1970-01-01 08:00:00", 
                    "dispatch_type_id": 1, 
                    "dispatch_price": "5.00", 
                    "discount_price": "0.00", 
                    "pay_type_id": 3, 
                    "order_goods_price": "199.00", 
                    "deduction_price": "0.00", 
                    "refund_id": 0, 
                    "is_plugin": 0, 
                    "change_price": "0.00", 
                    "change_dispatch_price": "0.00", 
                    "comment_status": 0, 
                    "order_pay_id": "1124", 
                    "plugin_id": 32, 
                    "is_virtual": 0, 
                    "mark": "0", 
                    "is_pending": 0, 
                    "status_name": "交易完成", 
                    "pay_type_name": "余额", 
                    "has_one_pay_type": {
                        "id": 3, 
                        "name": "余额", 
                        "plugin_id": 0, 
                        "code": "balance", 
                        "type": 1, 
                        "unit": "元", 
                        "updated_at": "2017-09-19 09:48:07", 
                        "created_at": null, 
                        "deleted_at": null, 
                        "setting_key": "shop.pay.credit", 
                        "need_password": 1
                    }
                }
            }
        ]
    }
}

错误时返回:

{
    "result": 0,
    "msg": "错误提示",
    "data": {}
}

参数说明:

参数名 类型 说明
type string 插件标识
total int 总条数
per_page int 毎页显示条数
last_page int 最后一页
data array 数据

data 参数说明:

参数名 类型 说明
id int 收益id
order_sn string 订单号
amount int 收益金额
order obj 订单数据集合

备注:

  • 更多返回错误代码请看首页的错误代码描述