{
"code": 0,
"msg": "string",
"data": [
{
"id": 0,
"orderNo": "string",
"usageMode": "WRITE_OFF",
"status": "CREATE_SUCCESS",
"consumer": 0,
"staffId": 0,
"price": 0,
"groupBuying": true,
"groupBuyingId": 0,
"groupBuyingInfo": {
"id": 0,
"merchantId": 0,
"userId": 0,
"status": "CREATE",
"startTime": "2019-08-24T14:15:22.123Z",
"requireNum": 0,
"consumerList": [
{
"id": 0,
"orderId": 0,
"consumerId": 0,
"nickName": "string",
"avatar": "string",
"status": "CREATE",
"joinTime": "2019-08-24T14:15:22.123Z"
}
]
},
"requireNum": 0,
"createTime": "2019-08-24T14:15:22.123Z",
"hasReward": true,
"shareInfoId": 0,
"merchantId": 0,
"event": {
"id": 0,
"name": "string",
"merchantId": 0,
"merchantName": "string",
"phone": "string",
"longitude": "string",
"latitude": "string",
"type": "string",
"share": true
},
"writeOff": [
{
"id": 0,
"commodityId": 0,
"merchantId": [
0
],
"consumerId": 0,
"status": "UNDONE",
"source": "ORDER",
"orderId": 0,
"applyWeek": [
"SUNDAY"
],
"applyTime": [
{
"begin": "string",
"end": "string"
}
],
"writeOffTimeout": "2019-08-24T14:15:22.123Z",
"writeOffMerchant": 0,
"returnTimeout": 0,
"commodity": {
"id": 0,
"commodityNo": "string",
"merchantId": 0,
"name": "string",
"pic": "string",
"type": "BUNDLE",
"status": "USED",
"usageMode": "WRITE_OFF",
"originalPrice": 0,
"remark": "string",
"picDetail": [
"string"
],
"tag": [
"string"
],
"allowMerchant": [
0
],
"detail": [
{
"name": "string",
"type": "SIMPLE_COMMODITY",
"item": [
{}
]
}
],
"buyingSetting": {
"currentPrice": 0,
"purchaseLimit": 1,
"inventory": 1,
"virtualSales": 0
},
"groupBuyingSetting": {
"groupBuying": true,
"groupBuyingRule": "string",
"groupSize": 2,
"groupBuyingPrice": 0
},
"restrictSetting": {
"thresholdPrice": 0,
"periodOfValidity": 1,
"dayOfWeek": [
"SUNDAY"
],
"timeOfDay": [
{
"begin": "string",
"end": "string"
}
],
"subscribeRule": "string",
"otherRule": "string",
"allowMerchant": [
0
]
},
"rewardSetting": {
"memberCommission": 0,
"consumerCommission": 0,
"commodity": [
{
"id": 0,
"pic": "string",
"name": "string",
"number": 0,
"price": 0,
"tag": [
"string"
]
}
]
},
"inventory": {
"inventory": 0,
"sold": 0,
"surplus": 0,
"virtual": 0,
"virtualInventory": 0,
"virtualSurplus": 0,
"virtualSold": 0
},
"deduction": 0,
"deductionType": 0,
"deductionCount": 0,
"deductionPrice": "string"
}
}
],
"orderCommodity": [
{
"commodityId": 0,
"commodity": {
"id": 0,
"commodityNo": "string",
"merchantId": 0,
"name": "string",
"pic": "string",
"type": "BUNDLE",
"status": "USED",
"usageMode": "WRITE_OFF",
"originalPrice": 0,
"remark": "string",
"picDetail": [
"string"
],
"tag": [
"string"
],
"allowMerchant": [
0
],
"detail": [
{
"name": "string",
"type": "SIMPLE_COMMODITY",
"item": [
{}
]
}
],
"buyingSetting": {
"currentPrice": 0,
"purchaseLimit": 1,
"inventory": 1,
"virtualSales": 0
},
"groupBuyingSetting": {
"groupBuying": true,
"groupBuyingRule": "string",
"groupSize": 2,
"groupBuyingPrice": 0
},
"restrictSetting": {
"thresholdPrice": 0,
"periodOfValidity": 1,
"dayOfWeek": [
"SUNDAY"
],
"timeOfDay": [
{
"begin": "string",
"end": "string"
}
],
"subscribeRule": "string",
"otherRule": "string",
"allowMerchant": [
0
]
},
"rewardSetting": {
"memberCommission": 0,
"consumerCommission": 0,
"commodity": [
{
"id": 0,
"pic": "string",
"name": "string",
"number": 0,
"price": 0,
"tag": [
"string"
]
}
]
},
"inventory": {
"inventory": 0,
"sold": 0,
"surplus": 0,
"virtual": 0,
"virtualInventory": 0,
"virtualSurplus": 0,
"virtualSold": 0
},
"deduction": 0,
"deductionType": 0,
"deductionCount": 0,
"deductionPrice": "string"
},
"meal": {
"createBy": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22.123Z",
"params": {
"property1": {},
"property2": {}
},
"id": 0,
"ids": [
0
],
"merchantId": 0,
"type": 0,
"name": "string",
"usageType": 0,
"groupBuying": 0,
"showPrice": 0,
"realPrice": 0,
"groupBuyingPrice": 0,
"groupBuyingNum": 0,
"groupBuyingRule": "string",
"count": 0,
"limitCount": 0,
"limitPrice": 0,
"limitDay": 0,
"showSold": 0,
"tag": "string",
"usageLimit": "string",
"usageLimitStart": "string",
"usageLimitEnd": "string",
"usageLimitRule": "string",
"usageLimitOtherRule": "string",
"reward": 0,
"sharingReward": 0,
"version": 0,
"url": "string",
"showInventory": 0,
"showSurplus": 0,
"deduction": 0,
"deductionType": 0,
"deductionCount": 0,
"deductionPrice": 0,
"consumption": 0,
"consumptionId": 0,
"consumptionPrice": 0,
"ccName": "string",
"consumptionName": "string",
"consumptionRealName": "string",
"idTicketNum": 0,
"idFlag": 0,
"repertory": {
"id": 0,
"mealId": 0,
"version": 0,
"inventory": 0,
"sold": 0
},
"detailList": [
{
"id": 0,
"mealId": 0,
"name": "string",
"showCount": 0,
"price": 0,
"sort": 0
}
],
"attachmentList": [
{
"id": 0,
"mealId": 0,
"url": "string"
}
],
"scopeList": [
{
"id": 0,
"mealId": 0,
"merchantId": 0
}
],
"ticketList": [
{
"createBy": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22.123Z",
"params": {
"property1": {},
"property2": {}
},
"id": 0,
"mealId": 0,
"ticketId": 0,
"concertId": 0,
"count": 0,
"type": 0,
"areaName": "string",
"price": 0
}
]
},
"count": 1
}
],
"merchantFeeDetail": {
"feeDetailId": 0,
"payTime": "string",
"commission": 0,
"commissionB": 0,
"serviceCharge": 0,
"serviceChargeB": 0,
"merchantName": "string",
"merchantId": 0,
"payNum": 0,
"relatedOrder": 0
},
"profitsharingTotal": 0,
"reward": 0,
"successTime": "string",
"amount": 0
}
]
}