GET api/MallOrder/GetOrderDetailsByCommodityId?commodityId={commodityId}&top={top}
获取订单用户信息
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| commodityId | integer |
Required |
|
| top | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
获取订单用户信息
Collection of MallOrderUserInfoDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
订单标识 |
integer |
None. |
| ProductId |
商品标识 |
integer |
None. |
| UserId |
下单用户 |
integer |
None. |
| UserName |
用户名称 |
string |
None. |
| UserHeadPic |
用户头像 |
string |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<ArrayOfMallOrderUserInfoDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Mall.Service.Dto.Order">
<MallOrderUserInfoDto>
<Id>1</Id>
<ProductId>2</ProductId>
<UserHeadPic>sample string 5</UserHeadPic>
<UserId>3</UserId>
<UserName>sample string 4</UserName>
</MallOrderUserInfoDto>
<MallOrderUserInfoDto>
<Id>1</Id>
<ProductId>2</ProductId>
<UserHeadPic>sample string 5</UserHeadPic>
<UserId>3</UserId>
<UserName>sample string 4</UserName>
</MallOrderUserInfoDto>
</ArrayOfMallOrderUserInfoDto>