- 电商
- 电商-公务舱
- 乐山
- 乐山-文旅
- 文旅-商品
- 文旅-枚举
- 文旅-点位
- 文旅-活动
- 文旅-订单商品项
- 文旅-订单评价
- 文旅-用户反馈
- 文旅-核销人员关联
- 文旅-订单
- 小羊-web
- 砂石
分页获取用户交易明细
GET
/order/order/getOrderByUserId
请求参数
Query 参数
size
integer <int64>
可选
每页大小,默认10
默认值:
10
current
integer <int64>
可选
当前页,默认1
默认值:
1
optimizeJoinOfCountSql
boolean
可选
MAX_SIZE
integer <int64>
最大每页条数
默认值:
100
userId
string
用户id
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/order/order/getOrderByUserId'
返回响应
🟢200成功
application/json
Body
code
string
状态码
msg
string
信息
data
object (IPageOrder)
数据
records
array[object (Order) {82}]
可选
total
integer <int64>
可选
size
integer <int64>
可选
current
integer <int64>
可选
orders
array[object (OrderItem) {2}]
可选
optimizeCountSql
boolean
可选
searchCount
boolean
可选
optimizeJoinOfCountSql
boolean
可选
maxLimit
integer <int64>
可选
countId
string
可选
pages
integer <int64>
可选
version
string
版本
timestamp
integer <int64>
时间
sign
string
可选
success
boolean
可选
示例
{
"code": "",
"msg": "",
"data": {
"records": [
{
"orderId": 0,
"shopId": 0,
"prodName": "",
"userId": "",
"orderNumber": "",
"total": 0.0,
"actualTotal": 0.0,
"payType": 0,
"remarks": "",
"shopRemarks": "",
"status": 0,
"dvyType": 0,
"dvyId": 0,
"dvyFlowId": "",
"freightAmount": 0.0,
"addrOrderId": 0,
"productNums": 0,
"receiverName": "",
"receiverMobile": "",
"createTime": "",
"updateTime": "",
"payTime": "",
"dvyTime": "",
"finallyTime": "",
"cancelTime": "",
"preSaleTime": "",
"settledTime": "",
"isPayed": 0,
"deleteStatus": 0,
"refundStatus": 0,
"reduceAmount": 0.0,
"scoreAmount": 0.0,
"memberAmount": 0.0,
"shopCouponAmount": 0.0,
"discountAmount": 0.0,
"shopComboAmount": 0.0,
"shopChangeFreeAmount": 0.0,
"distributionAmount": 0.0,
"platformFreeFreightAmount": 0.0,
"isSettled": 0,
"orderType": 0,
"orderMold": 0,
"closeType": 0,
"virtualRemark": "",
"writeOffNum": 0,
"writeOffMultipleCount": 0,
"writeOffStatus": 0,
"writeOffStart": "",
"writeOffEnd": "",
"isRefund": 0,
"mainOrderNumber": "",
"score": 0,
"shopName": "",
"prodNameCn": "",
"prodNameEn": "",
"nickName": "",
"userMobile": "",
"orderItems": [
{
"orderItemId": 0,
"shopId": 0,
"orderNumber": "",
"prodId": 0,
"skuId": 0,
"categoryId": 0,
"prodCount": 0,
"prodName": "",
"skuName": "",
"properties": "",
"pic": "",
"price": 0.0,
"userId": "",
"productTotalAmount": 0.0,
"recTime": "",
"commSts": 0,
"distributionCardNo": "",
"basketDate": "",
"actualTotal": 0.0,
"shareReduce": 0.0,
"useScore": 0,
"status": 0,
"gainScore": 0,
"distributionAmount": 0.0,
"distributionParentAmount": 0.0,
"scoreAmount": 0.0,
"memberAmount": 0.0,
"shopCouponAmount": 0.0,
"discountAmount": 0.0,
"shopChangeFreeAmount": 0.0,
"comboAmount": 0.0,
"giveawayAmount": 0.0,
"freeFreightAmount": 0.0,
"platformFreeFreightAmount": 0.0,
"dvyType": 0,
"isGiveaway": 0,
"giveawayOrderItemId": 0,
"stockPointId": 0,
"stockPointType": 0,
"returnGiveawayIds": "",
"changeNum": 0,
"refundSn": "",
"refundId": 0,
"refundType": 0,
"returnMoneySts": 0,
"chageAmount": 0.0,
"prodNameCn": "",
"prodNameEn": "",
"skuNameCn": "",
"skuNameEn": "",
"categoryName": "",
"changeAmountVersion": 0,
"activityId": 0,
"activityType": 0,
"giveaway": {
"giveawayId": 0,
"name": "",
"prodId": 0,
"status": 0,
"startTime": "",
"endTime": "",
"buyNum": 0,
"giveawayProds": [
{
"giveawayProdId": 0,
"giveawayId": 0,
"prodId": 0,
"skuId": 0,
"giveawayNum": 0,
"refundPrice": 0.0,
"status": 0,
"prodName": "",
"pic": "",
"skuName": "",
"properties": "",
"price": 0.0,
"skuStock": 0
}
]
},
"mold": 0,
"giveawayList": [
{
"orderItemId": 0,
"shopId": 0,
"orderNumber": "",
"prodId": 0,
"skuId": 0,
"categoryId": 0,
"prodCount": 0,
"prodName": "",
"skuName": "",
"properties": "",
"pic": "",
"price": 0.0,
"userId": "",
"productTotalAmount": 0.0,
"recTime": "",
"commSts": 0,
"distributionCardNo": "",
"basketDate": "",
"actualTotal": 0.0,
"shareReduce": 0.0,
"useScore": 0,
"status": 0,
"gainScore": 0,
"distributionAmount": 0.0,
"distributionParentAmount": 0.0,
"scoreAmount": 0.0,
"memberAmount": 0.0,
"shopCouponAmount": 0.0,
"discountAmount": 0.0,
"shopChangeFreeAmount": 0.0,
"comboAmount": 0.0,
"giveawayAmount": 0.0,
"freeFreightAmount": 0.0,
"platformFreeFreightAmount": 0.0,
"dvyType": 0,
"isGiveaway": 0,
"giveawayOrderItemId": 0,
"stockPointId": 0,
"stockPointType": 0,
"returnGiveawayIds": "",
"changeNum": 0,
"refundSn": "",
"refundId": 0,
"refundType": 0,
"returnMoneySts": 0,
"chageAmount": 0.0,
"prodNameCn": "",
"prodNameEn": "",
"skuNameCn": "",
"skuNameEn": "",
"categoryName": "",
"changeAmountVersion": 0,
"activityId": 0,
"activityType": 0,
"giveaway": {
"giveawayId": 0,
"name": "",
"prodId": 0,
"status": 0,
"startTime": "",
"endTime": "",
"buyNum": 0,
"giveawayProds": [
{
"giveawayProdId": 0,
"giveawayId": 0,
"prodId": 0,
"skuId": 0,
"giveawayNum": 0,
"refundPrice": 0.0,
"status": 0,
"prodName": "",
"pic": "",
"skuName": "",
"properties": "",
"price": 0.0,
"skuStock": 0
}
]
},
"mold": 0,
"giveawayList": [],
"comboList": [],
"preSellTime": "",
"payTime": "",
"shopShareReduce": 0.0,
"afterStock": 0,
"voucherId": 0,
"detailFilter": false,
"channel": 0,
"channelProductId": 0,
"channelOrderId": 0
}
],
"comboList": [
{
"orderItemId": 0,
"shopId": 0,
"orderNumber": "",
"prodId": 0,
"skuId": 0,
"categoryId": 0,
"prodCount": 0,
"prodName": "",
"skuName": "",
"properties": "",
"pic": "",
"price": 0.0,
"userId": "",
"productTotalAmount": 0.0,
"recTime": "",
"commSts": 0,
"distributionCardNo": "",
"basketDate": "",
"actualTotal": 0.0,
"shareReduce": 0.0,
"useScore": 0,
"status": 0,
"gainScore": 0,
"distributionAmount": 0.0,
"distributionParentAmount": 0.0,
"scoreAmount": 0.0,
"memberAmount": 0.0,
"shopCouponAmount": 0.0,
"discountAmount": 0.0,
"shopChangeFreeAmount": 0.0,
"comboAmount": 0.0,
"giveawayAmount": 0.0,
"freeFreightAmount": 0.0,
"platformFreeFreightAmount": 0.0,
"dvyType": 0,
"isGiveaway": 0,
"giveawayOrderItemId": 0,
"stockPointId": 0,
"stockPointType": 0,
"returnGiveawayIds": "",
"changeNum": 0,
"refundSn": "",
"refundId": 0,
"refundType": 0,
"returnMoneySts": 0,
"chageAmount": 0.0,
"prodNameCn": "",
"prodNameEn": "",
"skuNameCn": "",
"skuNameEn": "",
"categoryName": "",
"changeAmountVersion": 0,
"activityId": 0,
"activityType": 0,
"giveaway": {
"giveawayId": 0,
"name": "",
"prodId": 0,
"status": 0,
"startTime": "",
"endTime": "",
"buyNum": 0,
"giveawayProds": [
{
"giveawayProdId": 0,
"giveawayId": 0,
"prodId": 0,
"skuId": 0,
"giveawayNum": 0,
"refundPrice": 0.0,
"status": 0,
"prodName": "",
"pic": "",
"skuName": "",
"properties": "",
"price": 0.0,
"skuStock": 0
}
]
},
"mold": 0,
"giveawayList": [],
"comboList": [],
"preSellTime": "",
"payTime": "",
"shopShareReduce": 0.0,
"afterStock": 0,
"voucherId": 0,
"detailFilter": false,
"channel": 0,
"channelProductId": 0,
"channelOrderId": 0
}
],
"preSellTime": "",
"payTime": "",
"shopShareReduce": 0.0,
"afterStock": 0,
"voucherId": 0,
"detailFilter": false,
"channel": 0,
"channelProductId": 0,
"channelOrderId": 0
}
],
"dvyTypes": [
{
"shopId": 0,
"stationId": 0,
"dvyType": 0,
"lat": 0.0,
"lng": 0.0
}
],
"writeOffCodes": [
""
],
"userAddrOrder": {
"addrOrderId": 0,
"addrId": 0,
"userId": "",
"receiver": "",
"province": "",
"city": "",
"area": "",
"addr": "",
"postCode": "",
"provinceId": 0,
"cityId": 0,
"areaId": 0,
"mobile": "",
"createTime": "",
"version": 0,
"lng": 0.0,
"lat": 0.0
},
"refundSn": "",
"payNo": "",
"returnMoneySts": 0,
"refundType": 0,
"lossAmount": 0.0,
"payScore": 0,
"freeTransfee": 0.0,
"changeAmountVersion": 0,
"directions": "",
"userAddr": "",
"stationName": "",
"userWriteOff": 0,
"stationId": 0,
"cache": false,
"transfee": 0.0,
"isBindVoucher": 0,
"roomId": 0,
"entId": 0,
"isEntPayed": 0,
"isProductVoucher": false
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": false
}
],
"optimizeCountSql": false,
"searchCount": false,
"optimizeJoinOfCountSql": false,
"maxLimit": 0,
"countId": "",
"pages": 0
},
"version": "",
"timestamp": 0,
"sign": "",
"success": false
}