packageDetail - TimYi/FengHuang GitHub Wiki

请求URL

http://101.200.229.135:8080/api/user/package/{id}

请求方式

GET  

请求参数

token:用户凭据
id:套餐订单id,目前系统中只有套餐订单一种订单

返回示例

{
"result": {
    "id": "8aac48364d949b49014d94b2b33e0000",
    "name": null,
    "price": 12,
    "realPrice": 10,
    "shop": {
        "id": "0",
        "name": "fenghuang",
        "title": null
    },
    "type": "DECORATE_PACKAGE",
    "mainPic": "localhost:8080/fenghuangzhujia/image/bd285a0f-6694-47eb-8d63-b1cbc12d5207.png",
    "mobile": null,
    "decoratingPackage": {
        "id": "404040e64d8fa9d4014d8fa9e2e10001",
        "menuid": null,
        "menu": "com.fenghuangzhujia.eshop.core.menu.Menu@7083d75e",
        "brandid": null,
        "brand": "com.fenghuangzhujia.eshop.core.brand.Brand@1b95de88",
        "title": null,
        "marketPrice": 12,
        "salePrice": 10,
        "housenum": 1,
        "housewarn": false,
        "warnnum": null,
        "description": null,
        "content": "test",
        "mainPic": {
            "id": "404040e64d8fa9d4014d8fa9e2150000",
            "url": "localhost:8080/fenghuangzhujia/image/bd285a0f-6694-47eb-8d63-b1cbc12d5207.png"
        },
        "thumbnails": null,
        "pics": [],
        "houseType": null,
        "decorateType": {
            "id": "404040e64d8f6dc0014d8f6dd8fa0014",
            "name": "新房到精装",
            "attr": null,
            "attr2": null,
            "type": "decorate"
        },
        "responseType": null,
        "workingDays": null,
        "keywrods": null,
        "details": [
            {
                "ordernum": 1,
                "position": null,
                "meterial": "白银",
                "count": "不限",
                "description": null
            }
        ]
    },
    "decorateCase": null,
    "appointTime": null,
    "area": null,
    "address": null,
    "remark": null,
    "houseArea": null
},
"status": "OK"
}