获取我的奖励流水.md 3.26 KB

1、获取我的奖励流水

获取我的奖励流水(method=app.invitecode.history

请求参数

参数名称 参数类型 长度 可否为空 示例 默认值 备注
client_secret string 50 5ac68f20cb18efe154be 进入接口提供的参数加密信息
uid int 1234556
page int 2
method String method=app.invitecode.history

注意,通用的头部没有列出。

请求示例http://localhost:8080/gateway?method=app.invitecode.history&debug=XYZ&uid=50001678&page=1

code为200即为成功,否则是失败。 响应JSON格式如下所示:



    {
        "alg": "SALT_MD5",
        "code": 200,
        "data":
        {
            "activityRuleDesc": "获得奖励条件:被邀请的好友注册后首单购物金额高于200元且7天内未退货
    奖励发放时间:被邀请的好友首单确认收货7天后发放
    获得奖励次数:每邀请1位好友,完成对应任务,即可获得奖励,上不封顶。
    活动最终解释权归YOHO!BUY有货所有。",
            "currPage": 1,
            "currTotal": 3,
            "data":
            [
                {
                    "confirmReceiptTimeDis": "-",
                    "couponName": "50元现金券",
                    "couponSendTimeDis": "确认收货7天后发放",
                    "couponStatusDesc": "未达成",
                    "firstOrderTimeDis": "-",
                    "firstOrderUid": 50002526,
                    "nickName": "1******5268",
                    "orderAmountDis": "-",
                    "paymentStatusDesc": "-",
                    "paymentTypeDis": "-",
                    "registerTimeDis": "2017.06.22 16:02:04"
                },
                {
                    "confirmReceiptTimeDis": "-",
                    "couponName": "50元现金券",
                    "couponSendTimeDis": "确认收货7天后发放",
                    "couponStatusDesc": "待发放",
                    "firstOrderTimeDis": "2017.06.22 14:50:22",
                    "firstOrderUid": 50002524,
                    "nickName": "1******5268",
                    "orderAmountDis": "123.98",
                    "paymentStatusDesc": "交易完成",
                    "paymentTypeDis": "在线支付",
                    "registerTimeDis": "2017.06.22 16:01:47"
                },
                {
                    "confirmReceiptTimeDis": "2017.06.22 14:50:22",
                    "couponName": "50元现金券",
                    "couponSendTimeDis": "2017.06.22 15:32:27",
                    "couponStatusDesc": "已发放",
                    "firstOrderTimeDis": "2017.06.22 14:50:22",
                    "firstOrderUid": 50002512,
                    "nickName": "1******5157_500",
                    "orderAmountDis": "123.98",
                    "paymentStatusDesc": "交易完成",
                    "paymentTypeDis": "在线支付",
                    "registerTimeDis": "2017.06.22 14:38:16"
                }
            ],
            "limit": 20,
            "pageSize": 1,
            "total": 3
        },
        "md5": "25e5abfc599259b9cb0f66d1ff8fc5db",
        "message": "操作成功"
    }