简要描述:

  • 分红

请求域名:

  • http://xx.com

请求URL:

GET/&route=plugin.be-within-call.frontend.manage.get-dividend

参数:

参数名 是否必须 类型 说明
page_size int 每页条数,默认:15
reward_type int 奖励类型:1=技能师傅奖励记录、2=师傅推荐人奖励记录,默认:1

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "reward",
    "data": {
        "current_page": 1,
        "data": [
            {
                "id": 2,
                "uniacid": 6,
                "member_id": 2460,
                "order_id": 2,
                "order_sn": "SN230313153102260B",
                "amount": "100.00",
                "dividend_rate": "99.00",
                "dividend_amount": "99.00",
                "reward_type": "1",
                "mark": "",
                "note": "",
                "settlement_day": 0,
                "status": 0,
                "created_at": "2023-03-16 15:32:03",
                "reward_type_name": "师傅奖励",
                "status_name": "待结算"
            }
        ],
        "first_page_url": "http://demo.yun.cn/addons/yun_shop/api.php?page=1",
        "from": 1,
        "last_page": 1,
        "last_page_url": "http://demo.yun.cn/addons/yun_shop/api.php?page=1",
        "next_page_url": null,
        "path": "http://demo.yun.cn/addons/yun_shop/api.php",
        "per_page": 15,
        "prev_page_url": null,
        "to": 1,
        "total": 1
    }
}

返回参数说明:

data参数说明:

参数名 类型 说明
member_id int 会员ID
order_id int 订单ID
order_sn string 订单编号
created_at string 时间
dividend_amount int 奖励金额

备注: