- App/H5对接流程:
- API开放接口对接流程
- 小程序对接流程v1.1
- 数据推送说明
- 基础信息
- 电影票接口
- 卡券接口
- 点餐接口
订单列表
POST
/api/gift_card/order_list
GiftCard
请求参数
Body 参数application/json
pageIndex
integer <int32>
可选
pageSize
integer <int32>
可选
orderCustomId
string | null
可选
title
string | null
可选
userName
string | null
可选
userMobile
string | null
可选
orderState
enum<integer> <int32>
可选
0:ReadyToPay,等待支付;
1:Paid,订单已付;
2:ReadyToLock,等待抢单;
3:Locked,正在充值;
4:Success,订单成功;
5:Failed,订单失败;
6:Canceled,订单取消;
7:Refunded,订单退款;
8:NopayCancel,未付取消;
枚举值:
012345678
epUserId
string <uuid> | null
可选
userId
string <uuid> | null
可选
appId
string | null
可选
示例
{
"pageIndex": 0,
"pageSize": 0,
"orderCustomId": "string",
"title": "string",
"userName": "string",
"userMobile": "string",
"orderState": 0,
"epUserId": "f6922f56-2635-4dc5-9821-536548cc4172",
"userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
"appId": "string"
}
返回响应
🟢200Success
application/json
Body
code
integer <int32>
code
message
string | null
message
data
object (GiftCardOrderDtoPageData)
可选
pageIndex
integer <int32>
可选
pageSize
integer <int32>
可选
pageCount
integer <int32>
可选
total
integer <int32>
可选
data
array[object (GiftCardOrderDto) {50}] | null
可选
示例
{
"code": 0,
"message": "string",
"data": {
"pageIndex": 0,
"pageSize": 0,
"pageCount": 0,
"total": 0,
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"epUserId": "f6922f56-2635-4dc5-9821-536548cc4172",
"epParentId": "c45a9505-bd3e-4c6a-becf-eae1056d362d",
"epUserName": "string",
"userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
"giftCardId": "9c83b4f5-280c-4968-8797-b9fdb3bd911c",
"orderName": "string",
"userMobile": "string",
"userName": "string",
"avatarUrl": "string",
"originPrice": 0,
"totalSupplierPrice": 0,
"totalDistributionPrice": 0,
"totalCommission": 0,
"epParentCommission": 0,
"epCommission": 0,
"totalUserPrice": 0,
"createTime": "2019-08-24T14:15:22Z",
"paidTime": "2019-08-24T14:15:22Z",
"finishTime": "2019-08-24T14:15:22Z",
"updateTime": "2019-08-24T14:15:22Z",
"orderState": 0,
"orderStateName": "string",
"supplierId": "e01eb4c4-8eb9-4fb7-b625-61f58c6148db",
"giftCardText": "string",
"orderPayId": "string",
"orderRefundId": "string",
"couponId": "15d6ce74-0176-4a4d-819b-7e460f30be6a",
"orderCustomId": "string",
"appId": "string",
"count": 0,
"cardType": 0,
"cardTypeName": "string",
"platformId": 0,
"platformName": "string",
"platformGoodsId": "string",
"platformOrderId": "string",
"isChannelPay": true,
"payAppId": "string",
"payTranId": "string",
"remark": "string",
"autoBuy": true,
"entPara": "string",
"entUserId": "string",
"pushUrl": "string",
"payUrl": "string",
"giftCardLogo": "string",
"giftAmount": 0,
"useGift": true,
"epCostPrice": 0
}
]
}
}
修改于 2024-10-30 03:47:13