Page History

Getcoupondetailsnew

Last edited by 徐近程

返回

获取优惠券详情页(新)


URL: http://apiwjjtest.cnlive.com/Daren/family/getCouponDetailsNew.action


请求方式: HTTP POST


请求参数说明:

参数名 参数类型 必选 参数说明
sid String true 用户sid

返回格式: JSON


返回格式样例:

{
    "data": {
        "couponBean": {
            "couponMsg": "满30元可用",
            "couponPrice": "5"
        },
        "msg60": "已领取",
        "couponIds": "3,4",
        "couponMsg1": "领",
        "couponMsg2": "60元每人限领一次",
        "couponMsg3": "200",
        "familyGroupList": [
            {
                "groupId": "sgf_group_310d752a26fb4f9896a763931f2926b6",
                "groupName": "北京市-啦的亲情群",
                "memberNum": 11
            },
            {
                "groupId": "sgf_group_fb168f5a027c452f90f255a57b23fed6",
                "groupName": "gshdhdjds",
                "memberNum": 10
            },
            {
                "groupId": "sgf_group_e13d014404f241e090f6ec4cf5422b69",
                "groupName": "北京市-啦的亲情群",
                "memberNum": 5
            },
            {
                "groupId": "sgf_group_5441df7ceafb457b92c5e9e607b96cb1",
                "groupName": "北京市-啦啦的亲情群",
                "memberNum": 4
            },
            {
                "groupId": "sgf_group_69564f1c4c4b470780b4d29abbdc3b0d",
                "groupName": "哈哈亲情群",
                "memberNum": 4
            },
            {
                "groupId": "sgf_group_a41978277858428e8a8e51a097f7ab99",
                "groupName": "北京市-杜致的亲情群",
                "memberNum": 4
            },
            {
                "groupId": "sgf_group_f9bcfe5cd1454378b104f8499714d4b0",
                "groupName": "北京市-啦的亲情群",
                "memberNum": 4
            },
            {
                "groupId": "sgf_group_44b454066b7e424ca8743a4ebae7ae31",
                "groupName": "北京市-啦的亲情群",
                "memberNum": 3
            },
            {
                "groupId": "sgf_group_5902c07b2e8e41378d6a89514ec04e86",
                "groupName": "13测试好呃的亲情群",
                "memberNum": 3
            },
            {
                "groupId": "sgf_group_a70720c0cc77457ca6079794b9c47f5b",
                "groupName": "132xxx的亲情群",
                "memberNum": 3
            },
            {
                "groupId": "sgf_group_002b59625b584cd085033bce1b8d85d5",
                "groupName": "北京市-测试的亲情群",
                "memberNum": 2
            },
            {
                "groupId": "sgf_group_01f62fbe199841b7b61a8636f3235cea",
                "groupName": "135xxx的亲情群",
                "memberNum": 2
            },
            {
                "groupId": "sgf_group_121cb1f1c01e404593a582e19b35226c",
                "groupName": "502的亲情群",
                "memberNum": 2
            },
            {
                "groupId": "sgf_group_75bf543523ba4c7cad472fa1e6e6439c",
                "groupName": "测得",
                "memberNum": 2
            },
            {
                "groupId": "sgf_group_86ef9130c06a4660bbd7b6f5112ad459",
                "groupName": "152亲情群",
                "memberNum": 2
            },
            {
                "groupId": "sgf_group_882e9c749d71472c891476a6b63d92b3",
                "groupName": "😀😀😀😬",
                "memberNum": 2
            },
            {
                "groupId": "sgf_group_b0f2d5fb8a5e4d55b86f12aa288bef61",
                "groupName": "北京市-测试的亲情群",
                "memberNum": 2
            },
            {
                "groupId": "sgf_group_b50c5b31d970435da37fb9877e8c7d10",
                "groupName": "135xxx的亲情群",
                "memberNum": 2
            },
            {
                "groupId": "sgf_group_025f9cb047a04c27a7f10fd0cc80190b",
                "groupName": "测试创建",
                "memberNum": 1
            },
            {
                "groupId": "sgf_group_1cf09f126dc9434aa31516255b4cc067",
                "groupName": "嗯嗯",
                "memberNum": 1
            },
            {
                "groupId": "sgf_group_1f31a0b797264f66ae2bc1144d6f0c22",
                "groupName": "测试",
                "memberNum": 1
            },
            {
                "groupId": "sgf_group_61e97a0b279e45dda6677e94561eb8c7",
                "groupName": "135xxx的亲情群",
                "memberNum": 1
            },
            {
                "groupId": "sgf_group_650aefe877924581b601992dfb92202b",
                "groupName": "嗯嗯",
                "memberNum": 1
            },
            {
                "groupId": "sgf_group_a93a9c473d6d46f296b4b39cdd315f79",
                "groupName": "动漫",
                "memberNum": 1
            },
            {
                "groupId": "sgf_group_eecd50e435f04d3193fa37b6f8f1f6d2",
                "groupName": "135xxx的亲情群",
                "memberNum": 1
            }
        ],
        "invitationId": "2",   //邀请优惠券id
        "invitationMsg": "领取",  //邀请领券按钮信息
        "invitationPrice": "10",
        "state": "1"   //1-展示按钮  2-不展示按钮
    },
    "errorCode": "0",
    "errorMessage": "成功"
}

错误码:
{
    "data": {},
    "errorCode": "403",
    "errorMessage": "缺少必要参数"
}

{
    "data": {},
    "errorCode": "500",
    "errorMessage": "服务器异常"
}