scrable - TimYi/FengHuang GitHub Wiki

请求URL

http://101.200.229.135:8080/api/product/package/scramble

请求方式

POST  

请求参数

token:用户凭据
id:套餐id
caseId:案例id,可选
套餐和案例展示和选择之间的过度,由前端负责。

返回示例
result中为新生成的订单id

{
"result": {
    "id": "8aac48364df6c666014df6c774860001",
    "price": 2000,
    "status": null,
    "count": 1,
    "name": null,
    "type": null,
    "mainPic": null,
    "shopid": null,
    "shop": null,
    "good": {
        "id": "8aac48364df6c666014df6c774630000",
        "name": null,
        "price": 2000,
        "realPrice": 2000,
        "type": null,
        "mainPic": null,
        "mobile": null,
        "decoratingPackage": null,
        "decorateCase": null
    }
},
"status": "OK"
}