文档
测试

获取订单详情

GET
http://daduhui.mangotechdemo.com.au/webapi/Order/GetOrderDetail

请求参数

参数名
类型
描述
必填
ordersn
string
订单号
必填
userid
long
用户id 可不传递 如果想区分 是买家的订单还是卖家的 则传递
必填

说明 / 示例

响应参数 { "model": { "OrderResponse": { 订单相关 "OrderSn": "T20210109174157788", 订单号 "OrderType": 0, 订单类型 0 买家 1 卖家 "OrderUserId": 1,下单用户id "OrderUserName": "Hert", 下单用户名 "BusinessUserId": 4, 商家id "BusinessUserName": null,商家名称 "GroupName": null,圈子名称 "GroupId": 0,圈子id "AddressId": 2,地址id "AddressDetail": "ROYAL EXCHANGE NSW 1226",地址详情 "AddressType": 1, 0配送地址 1自提地址 "AddressTypeName": "自提地址", 地址类型名称 "ReceiveName": "测试1",收货人姓名 "ReceiveTelPhone": "17319019619",收货人电话 "TotalPayPrice": 193, 总支付金额 "OriginalTotalPayPrice": 193,除去运费的总支付金额 目前用totalpayprice 字段都可以 "Freight": 0, "PayTime": "0001-01-01T00:00:00", "PayTimeValue": "0001-01-01 00:00",支付时间 "AddTime": "2021-01-09T17:42:07.217", "AddTimeValue": "2021-01-09 17:42",添加时间 "PayState": 0,支付状态 "PayStateName": "待付款",支付状态名称 "OrderProductAmount": 0, "PayChannel": 1,支付渠道 "Remark": "aaaaa", "PayChannelName": "微信支付",支付渠道名称 "OrderDetailResponses": null }, "OrderDetailList": [ 订单详情名称 { "PicCoverUrl": "http://localhost:9977/api/media/image/3/202012161135.jpg", 图片地址 "OrderDetaiStatusName": "待支付",订单详情状态 "Id": 1,订单详情主键id "BusinessUserId": 4, 商家id "OrderUserId": 1,下单用户id "OrderSn": "T20210109174157788",订单号 "ProductId": 1,产品id "ProductName": "aa",产品名称 "ProductCoverFileName": "202012161135.jpg", "OriginalPrice": 15,产品原价 "WebPrice": 13, 产品现价 "OrderProductAmount": 2,下单数量 "Status": 0, "AddTime": "2021-01-09T17:42:08.247"添加时间 }, { "PicCoverUrl": "", "OrderDetaiStatusName": "待支付", "Id": 2, "BusinessUserId": 4, "OrderUserId": 1, "OrderSn": "T20210109174157788", "ProductId": 2, "ProductName": "测试商品1", "ProductCoverFileName": "", "OriginalPrice": 100, "WebPrice": 90, "OrderProductAmount": 3, "Status": 0, "AddTime": "2021-01-09T17:42:08.247" }, { "PicCoverUrl": "", "OrderDetaiStatusName": "待支付", "Id": 3, "BusinessUserId": 4, "OrderUserId": 1, "OrderSn": "T20210109174157788", "ProductId": 3, "ProductName": "bb", "ProductCoverFileName": "", "OriginalPrice": 100, "WebPrice": 90, "OrderProductAmount": 4, "Status": 0, "AddTime": "2021-01-09T17:42:08.247" } ] }, "code": 1, "msg": "查询成功" }