简要描述:

  • 优惠卷以领取记录

请求域名:

  • http://test.yunzshop.com

请求URL:

GET/&route=coupon.share-coupon.log-list

参数:

参数名 是否必须 类型 说明
order_ids string 订单ids
page int 当前页数

返回示例:

正确时返回:

{
    "result": 1, 
    "msg": "成功", 
    "data": {
        "remainder": 6, 
        "total": 1, 
        "current_page": 1,
		'last_page': 1,
        "per_page": 15, 
        "data": [
            {
                "id": 1, 
                "uniacid": 6, 
                "share_uid": 2455, 
                "receive_uid": 2455, 
                "share_coupon_id": 1, 
                "order_id": 801, 
                "coupon_id": 11, 
                "coupon_name": "100购物分享", 
                "log": "用户( ID 为 2455 )通过用户( ID为 2455 )的分享领取 1 张优惠卷(ID 为 11 )", 
                "remark": null, 
                "created_at": "2019-03-22 10:01:14", 
                "updated_at": "2019-03-22 10:01:14", 
                "receive_member": {
                    "uid": 2455, 
                    "uniacid": 6, 
                    "mobile": "15219025049", 
                    "email": "", 
                    "password": "fe257c635a87f8b82ce5991e44bcdda7", 
                    "salt": "tdVg6zqs", 
                    "groupid": 6, 
                    "credit1": "1611.00", 
                    "credit2": "6776.56", 
                    "credit3": "0.00", 
                    "credit4": "0.00", 
                    "credit5": "0.00", 
                    "credit6": "0.00", 
                    "createtime": 1510044568, 
                    "realname": "柏丽芬", 
                    "nickname": "Joe", 
                    "avatar": "http://wx.qlogo.cn/mmopen/jrrLmvV27wvvl8ylHs1nNYP6aKOxtdCdiacsTOYJg6zzrxgrPoTkk9gTv25zvzLrSnnB3ttSUia2IJe2XtfrnAOedGHJVNUdNib/0", 
                    "qq": "", 
                    "vip": 0, 
                    "gender": 2, 
                    "birthyear": 2017, 
                    "birthmonth": 12, 
                    "birthday": 2, 
                    "constellation": "", 
                    "zodiac": "", 
                    "telephone": "", 
                    "idcard": "", 
                    "studentid": "", 
                    "grade": "", 
                    "address": "", 
                    "zipcode": "", 
                    "nationality": "", 
                    "resideprovince": "省", 
                    "residecity": "市", 
                    "residedist": "", 
                    "graduateschool": "", 
                    "company": "", 
                    "education": "", 
                    "occupation": "", 
                    "position": "", 
                    "revenue": "", 
                    "affectivestatus": "", 
                    "lookingfor": "", 
                    "bloodtype": "", 
                    "height": "", 
                    "weight": "", 
                    "alipay": "", 
                    "msn": "", 
                    "taobao": "", 
                    "site": "", 
                    "bio": "", 
                    "interest": "", 
                    "avatar_image": "https://wx.qlogo.cn/mmopen/jrrLmvV27wvvl8ylHs1nNYP6aKOxtdCdiacsTOYJg6zzrxgrPoTkk9gTv25zvzLrSnnB3ttSUia2IJe2XtfrnAOedGHJVNUdNib/0", 
                    "username": "Joe"
                }
            }
        ]
    }
}

错误时返回:

{
    "result": 1, 
    "msg": "成功", 
    "data": {
        "remainder": 7, 
        "total": 0, 
        "current_page": 1, 
        "per_page": 15, 
        "data": [ ]
    }
}

返回参数说明:

参数名 类型 说明
remainder int 剩余可领取优惠卷数
total int 以领取优惠卷总数
current_page int 当前页
last_page int 最后一页
per_page int 每页条数
data array 分页数据
data.created_at string 领取时间
data.remark string 优惠金额
data.receive_member.nickname string 会员昵称
data.receive_member.avatar string 会员头像

备注:

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