packages - TimYi/FengHuang GitHub Wiki
请求URL
http://101.200.229.135:8080/api/product/packages
请求方式
GET
请求参数
page:页码
size:大小
token:用户凭据,如果加入此凭据,会返回用户对每个套餐的预约状态。
返回示例
{
"result": {
"totalCount": 1,
"totalPages": 1,
"page": 1,
"size": 8,
"result": [
{
"id": "404040e64df692b2014df695b5650000",
"price": 499,
"deposit": 2000,
"description": null,
"inStock": 400,
"saleNumber": 1,
"decorate": "简装",
"mainPic": null,
"scrambleStartTime": "2015-06-23 10:12:14",
"scrambleEndTime": null,
"status": null,
"hasAppointed": false,
"couldAppoint": false,
"reasonForCantAppoint": null
}
]
},
"status": "OK"
}