GET api/UserAdmin/GetPostList?shopId={shopId}&pageIndex={pageIndex}&pageSize={pageSize}
“GetPostList”的文档。
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| shopId | “shopId”的文档。 |
Define this parameter in the request URI. |
| pageIndex | “pageIndex”的文档。 |
Define this parameter in the request URI. |
| pageSize | “pageSize”的文档。 |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"PageIndex": 1,
"PageCount": 2,
"Total": 3,
"Items": [
{
"Id": 1,
"MinDis": 2,
"MaxDis": 3,
"Price": 4.0,
"ShopId": 5,
"ShopName": "sample string 6"
},
{
"Id": 1,
"MinDis": 2,
"MaxDis": 3,
"Price": 4.0,
"ShopId": 5,
"ShopName": "sample string 6"
},
{
"Id": 1,
"MinDis": 2,
"MaxDis": 3,
"Price": 4.0,
"ShopId": 5,
"ShopName": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<ShopPostListModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaiShengShi.Models.Admin">
<Items>
<ShopPostModel>
<Id>1</Id>
<MaxDis>3</MaxDis>
<MinDis>2</MinDis>
<Price>4</Price>
<ShopId>5</ShopId>
<ShopName>sample string 6</ShopName>
</ShopPostModel>
<ShopPostModel>
<Id>1</Id>
<MaxDis>3</MaxDis>
<MinDis>2</MinDis>
<Price>4</Price>
<ShopId>5</ShopId>
<ShopName>sample string 6</ShopName>
</ShopPostModel>
<ShopPostModel>
<Id>1</Id>
<MaxDis>3</MaxDis>
<MinDis>2</MinDis>
<Price>4</Price>
<ShopId>5</ShopId>
<ShopName>sample string 6</ShopName>
</ShopPostModel>
</Items>
<PageCount>2</PageCount>
<PageIndex>1</PageIndex>
<Total>3</Total>
</ShopPostListModel>