列表查询
开发中
GET
/order/odProductOrder/page
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
current
integer
可选
示例值:
1
size
integer
可选
示例值:
10
orderNo
string
订单号
cardNo
string
卡号
orderState
integer
可选
示例值:
99
orderType
integer
可选
示例值:
99
allowTakeOutFood
integer
可选
示例值:
99
orderSource
integer
可选
示例值:
99
businessStartTime
string
业务时间,开始
businessEndTime
string
业务时间,结束
branchId
number
机构ID
示例值:
0
branchTableStandId
number
桌台ID
示例值:
0
orderByColumn
string
按照字段排序
示例值:
createTime,orderNo,cardNo,orderState,orderType,orderSource,branchId,branchTableStandId
orderByAsc
string
字段排序方式
示例值:
desc,asc,asc,asc,asc,asc,asc,asc
Header 参数
Authorization
string
可选
示例值:
1938227f-d47b-47d6-bfce-38729900cfba
TENANT-ID
string
可选
示例值:
1
Body 参数application/json
object {0}
示例
{}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://devapi.maicanbao.com/order/odProductOrder/page?current=1&size=10&orderNo&cardNo&orderState=99&orderType=99&allowTakeOutFood=99&orderSource=99&businessStartTime&businessEndTime&branchId=0&branchTableStandId=0&orderByColumn=createTime,orderNo,cardNo,orderState,orderType,orderSource,branchId,branchTableStandId&orderByAsc=desc,asc,asc,asc,asc,asc,asc,asc' \
--header 'Authorization: 1938227f-d47b-47d6-bfce-38729900cfba' \
--header 'TENANT-ID: 1' \
--header 'Content-Type: application/json' \
--data-raw '{}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
data
object
必需
records
array [object {66}]
必需
total
integer
必需
size
integer
必需
current
integer
必需
pages
integer
必需
ok
boolean
必需
示例
{
"code": 0,
"msg": null,
"data": {
"records": [
{
"productOrderId": "1",
"orderNo": "1895633220020200",
"branchId": "1823902726793478145",
"branchName": "自助餐烤肉店",
"businessDate": "2024-08-26 00:00:00",
"orderType": "1",
"orderState": 0,
"openOperId": "1",
"openOperName": "测试",
"openTime": "2024-08-26 09:05:47",
"payTime": null,
"checkOutOperId": null,
"checkOutOperName": null,
"checkOutTime": null,
"cancelTime": null,
"allowTakeOutFood": 0,
"orderSource": 1,
"branchTableStandId": null,
"branchTableStandName": null,
"branchHallId": null,
"branchHallName": null,
"plateId": null,
"microchipNo": null,
"memberId": null,
"memberName": null,
"memberPhone": null,
"username": null,
"cardId": null,
"cardNo": null,
"marketTimeId": null,
"marketTimeName": null,
"adultsCount": 2,
"childrenCount": 1,
"orderRequirements": null,
"consumptionAmount": 100,
"totalDiscountAmount": 0,
"packageDiscountAmount": 0,
"discountWay": 0,
"discountRate": 0,
"discountPlan": null,
"discountReason": null,
"voucherAmount": 0,
"roundingAmount": 0,
"eraseAmount": 0,
"receivableAmount": 100,
"paymentAmount": 100,
"actualAmount": 100,
"payIntegral": 0,
"roundingMethod": null,
"reverseSettlementOperId": null,
"reverseSettlementOperName": null,
"reverseSettlementTime": null,
"refundAmount": null,
"chargebackOperId": null,
"chargebackOperName": null,
"chargebackTime": null,
"posNo": null,
"invoiceAmount": null,
"remarks": null,
"uniqueId": null,
"createUserId": null,
"createName": null,
"createTime": "2024-08-26 09:05:37",
"updateUserId": null,
"updateName": null,
"updateTime": null
}
],
"total": 1,
"size": 10,
"current": 1,
"pages": 1
},
"ok": true
}