GET api/MallCommodity/GetMallThemeCommodity?Top={Top}&PageSize={PageSize}&Search={Search}&PageID={PageID}

前台-获取商品分页

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Top

显示商品条数(默认4)

integer

None.

PageSize

每页条数

integer

None.

Search

关键字

string

None.

Keywords

关键字

string

None.

PageID

分页页数

integer

None.

Body Parameters

None.

Response Information

Resource Description

前台-获取商品分页

PagedOfMallThemeCommodityDto
NameDescriptionTypeAdditional information
Data

Collection of MallThemeCommodityDto

None.

TotalRecord

integer

None.

TotalPage

integer

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<PagedOfMallThemeCommodityDtoTGkbMPFB xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Infrastructure.Pages">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mh.Mall.Service.Dto.Theme">
    <d2p1:MallThemeCommodityDto>
      <d2p1:Description>sample string 5</d2p1:Description>
      <d2p1:Images>sample string 3</d2p1:Images>
      <d2p1:IndexShowType>Transverse</d2p1:IndexShowType>
      <d2p1:Intorder>6</d2p1:Intorder>
      <d2p1:Keywords>sample string 4</d2p1:Keywords>
      <d2p1:Qtys>7</d2p1:Qtys>
      <d2p1:ThemeCommodities xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mh.Mall.Service.Dto.Commodity">
        <d4p1:CommodityFrontSimpleDto>
          <d4p1:Chrimage>sample string 4</d4p1:Chrimage>
          <d4p1:Chrtitle>sample string 2</d4p1:Chrtitle>
          <d4p1:ClassId>25</d4p1:ClassId>
          <d4p1:CommodityBalance>15</d4p1:CommodityBalance>
          <d4p1:DistributionPrice>21.1</d4p1:DistributionPrice>
          <d4p1:Dtappenddate>2024-04-30T09:52:24.9573247+08:00</d4p1:Dtappenddate>
          <d4p1:EndDate>2024-04-30T09:52:24.9573247+08:00</d4p1:EndDate>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:Intorder>10</d4p1:Intorder>
          <d4p1:IsIndex>true</d4p1:IsIndex>
          <d4p1:IsLimit>true</d4p1:IsLimit>
          <d4p1:IsRemote>true</d4p1:IsRemote>
          <d4p1:IsShelf>true</d4p1:IsShelf>
          <d4p1:IsShowTime>true</d4p1:IsShowTime>
          <d4p1:IsSinglePrice>true</d4p1:IsSinglePrice>
          <d4p1:IsSupportCart>true</d4p1:IsSupportCart>
          <d4p1:LimitNum>18</d4p1:LimitNum>
          <d4p1:MarketPrice>20.1</d4p1:MarketPrice>
          <d4p1:RegionId>22</d4p1:RegionId>
          <d4p1:RobBuyPrice>5.1</d4p1:RobBuyPrice>
          <d4p1:SaleStatus>SaleEmpty</d4p1:SaleStatus>
          <d4p1:SectionId>23</d4p1:SectionId>
          <d4p1:ShopName>sample string 27</d4p1:ShopName>
          <d4p1:ShopStock>15</d4p1:ShopStock>
          <d4p1:ShopVirtualStock>0</d4p1:ShopVirtualStock>
          <d4p1:Shop_X>28.1</d4p1:Shop_X>
          <d4p1:Shop_Y>29.1</d4p1:Shop_Y>
          <d4p1:Shopid>3</d4p1:Shopid>
          <d4p1:SoldNum>31</d4p1:SoldNum>
          <d4p1:StartDate>2024-04-30T09:52:24.9573247+08:00</d4p1:StartDate>
          <d4p1:SubPrice>14.1</d4p1:SubPrice>
          <d4p1:TransverseImage>sample string 12</d4p1:TransverseImage>
          <d4p1:Views>24</d4p1:Views>
          <d4p1:VirtualSales>30</d4p1:VirtualSales>
        </d4p1:CommodityFrontSimpleDto>
        <d4p1:CommodityFrontSimpleDto>
          <d4p1:Chrimage>sample string 4</d4p1:Chrimage>
          <d4p1:Chrtitle>sample string 2</d4p1:Chrtitle>
          <d4p1:ClassId>25</d4p1:ClassId>
          <d4p1:CommodityBalance>15</d4p1:CommodityBalance>
          <d4p1:DistributionPrice>21.1</d4p1:DistributionPrice>
          <d4p1:Dtappenddate>2024-04-30T09:52:24.9573247+08:00</d4p1:Dtappenddate>
          <d4p1:EndDate>2024-04-30T09:52:24.9573247+08:00</d4p1:EndDate>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:Intorder>10</d4p1:Intorder>
          <d4p1:IsIndex>true</d4p1:IsIndex>
          <d4p1:IsLimit>true</d4p1:IsLimit>
          <d4p1:IsRemote>true</d4p1:IsRemote>
          <d4p1:IsShelf>true</d4p1:IsShelf>
          <d4p1:IsShowTime>true</d4p1:IsShowTime>
          <d4p1:IsSinglePrice>true</d4p1:IsSinglePrice>
          <d4p1:IsSupportCart>true</d4p1:IsSupportCart>
          <d4p1:LimitNum>18</d4p1:LimitNum>
          <d4p1:MarketPrice>20.1</d4p1:MarketPrice>
          <d4p1:RegionId>22</d4p1:RegionId>
          <d4p1:RobBuyPrice>5.1</d4p1:RobBuyPrice>
          <d4p1:SaleStatus>SaleEmpty</d4p1:SaleStatus>
          <d4p1:SectionId>23</d4p1:SectionId>
          <d4p1:ShopName>sample string 27</d4p1:ShopName>
          <d4p1:ShopStock>15</d4p1:ShopStock>
          <d4p1:ShopVirtualStock>0</d4p1:ShopVirtualStock>
          <d4p1:Shop_X>28.1</d4p1:Shop_X>
          <d4p1:Shop_Y>29.1</d4p1:Shop_Y>
          <d4p1:Shopid>3</d4p1:Shopid>
          <d4p1:SoldNum>31</d4p1:SoldNum>
          <d4p1:StartDate>2024-04-30T09:52:24.9573247+08:00</d4p1:StartDate>
          <d4p1:SubPrice>14.1</d4p1:SubPrice>
          <d4p1:TransverseImage>sample string 12</d4p1:TransverseImage>
          <d4p1:Views>24</d4p1:Views>
          <d4p1:VirtualSales>30</d4p1:VirtualSales>
        </d4p1:CommodityFrontSimpleDto>
      </d2p1:ThemeCommodities>
      <d2p1:ThemeName>sample string 2</d2p1:ThemeName>
      <d2p1:ThemeShowType>Transverse</d2p1:ThemeShowType>
      <d2p1:Ztid>1</d2p1:Ztid>
    </d2p1:MallThemeCommodityDto>
    <d2p1:MallThemeCommodityDto>
      <d2p1:Description>sample string 5</d2p1:Description>
      <d2p1:Images>sample string 3</d2p1:Images>
      <d2p1:IndexShowType>Transverse</d2p1:IndexShowType>
      <d2p1:Intorder>6</d2p1:Intorder>
      <d2p1:Keywords>sample string 4</d2p1:Keywords>
      <d2p1:Qtys>7</d2p1:Qtys>
      <d2p1:ThemeCommodities xmlns:d4p1="http://schemas.datacontract.org/2004/07/Mh.Mall.Service.Dto.Commodity">
        <d4p1:CommodityFrontSimpleDto>
          <d4p1:Chrimage>sample string 4</d4p1:Chrimage>
          <d4p1:Chrtitle>sample string 2</d4p1:Chrtitle>
          <d4p1:ClassId>25</d4p1:ClassId>
          <d4p1:CommodityBalance>15</d4p1:CommodityBalance>
          <d4p1:DistributionPrice>21.1</d4p1:DistributionPrice>
          <d4p1:Dtappenddate>2024-04-30T09:52:24.9573247+08:00</d4p1:Dtappenddate>
          <d4p1:EndDate>2024-04-30T09:52:24.9573247+08:00</d4p1:EndDate>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:Intorder>10</d4p1:Intorder>
          <d4p1:IsIndex>true</d4p1:IsIndex>
          <d4p1:IsLimit>true</d4p1:IsLimit>
          <d4p1:IsRemote>true</d4p1:IsRemote>
          <d4p1:IsShelf>true</d4p1:IsShelf>
          <d4p1:IsShowTime>true</d4p1:IsShowTime>
          <d4p1:IsSinglePrice>true</d4p1:IsSinglePrice>
          <d4p1:IsSupportCart>true</d4p1:IsSupportCart>
          <d4p1:LimitNum>18</d4p1:LimitNum>
          <d4p1:MarketPrice>20.1</d4p1:MarketPrice>
          <d4p1:RegionId>22</d4p1:RegionId>
          <d4p1:RobBuyPrice>5.1</d4p1:RobBuyPrice>
          <d4p1:SaleStatus>SaleEmpty</d4p1:SaleStatus>
          <d4p1:SectionId>23</d4p1:SectionId>
          <d4p1:ShopName>sample string 27</d4p1:ShopName>
          <d4p1:ShopStock>15</d4p1:ShopStock>
          <d4p1:ShopVirtualStock>0</d4p1:ShopVirtualStock>
          <d4p1:Shop_X>28.1</d4p1:Shop_X>
          <d4p1:Shop_Y>29.1</d4p1:Shop_Y>
          <d4p1:Shopid>3</d4p1:Shopid>
          <d4p1:SoldNum>31</d4p1:SoldNum>
          <d4p1:StartDate>2024-04-30T09:52:24.9573247+08:00</d4p1:StartDate>
          <d4p1:SubPrice>14.1</d4p1:SubPrice>
          <d4p1:TransverseImage>sample string 12</d4p1:TransverseImage>
          <d4p1:Views>24</d4p1:Views>
          <d4p1:VirtualSales>30</d4p1:VirtualSales>
        </d4p1:CommodityFrontSimpleDto>
        <d4p1:CommodityFrontSimpleDto>
          <d4p1:Chrimage>sample string 4</d4p1:Chrimage>
          <d4p1:Chrtitle>sample string 2</d4p1:Chrtitle>
          <d4p1:ClassId>25</d4p1:ClassId>
          <d4p1:CommodityBalance>15</d4p1:CommodityBalance>
          <d4p1:DistributionPrice>21.1</d4p1:DistributionPrice>
          <d4p1:Dtappenddate>2024-04-30T09:52:24.9573247+08:00</d4p1:Dtappenddate>
          <d4p1:EndDate>2024-04-30T09:52:24.9573247+08:00</d4p1:EndDate>
          <d4p1:Id>1</d4p1:Id>
          <d4p1:Intorder>10</d4p1:Intorder>
          <d4p1:IsIndex>true</d4p1:IsIndex>
          <d4p1:IsLimit>true</d4p1:IsLimit>
          <d4p1:IsRemote>true</d4p1:IsRemote>
          <d4p1:IsShelf>true</d4p1:IsShelf>
          <d4p1:IsShowTime>true</d4p1:IsShowTime>
          <d4p1:IsSinglePrice>true</d4p1:IsSinglePrice>
          <d4p1:IsSupportCart>true</d4p1:IsSupportCart>
          <d4p1:LimitNum>18</d4p1:LimitNum>
          <d4p1:MarketPrice>20.1</d4p1:MarketPrice>
          <d4p1:RegionId>22</d4p1:RegionId>
          <d4p1:RobBuyPrice>5.1</d4p1:RobBuyPrice>
          <d4p1:SaleStatus>SaleEmpty</d4p1:SaleStatus>
          <d4p1:SectionId>23</d4p1:SectionId>
          <d4p1:ShopName>sample string 27</d4p1:ShopName>
          <d4p1:ShopStock>15</d4p1:ShopStock>
          <d4p1:ShopVirtualStock>0</d4p1:ShopVirtualStock>
          <d4p1:Shop_X>28.1</d4p1:Shop_X>
          <d4p1:Shop_Y>29.1</d4p1:Shop_Y>
          <d4p1:Shopid>3</d4p1:Shopid>
          <d4p1:SoldNum>31</d4p1:SoldNum>
          <d4p1:StartDate>2024-04-30T09:52:24.9573247+08:00</d4p1:StartDate>
          <d4p1:SubPrice>14.1</d4p1:SubPrice>
          <d4p1:TransverseImage>sample string 12</d4p1:TransverseImage>
          <d4p1:Views>24</d4p1:Views>
          <d4p1:VirtualSales>30</d4p1:VirtualSales>
        </d4p1:CommodityFrontSimpleDto>
      </d2p1:ThemeCommodities>
      <d2p1:ThemeName>sample string 2</d2p1:ThemeName>
      <d2p1:ThemeShowType>Transverse</d2p1:ThemeShowType>
      <d2p1:Ztid>1</d2p1:Ztid>
    </d2p1:MallThemeCommodityDto>
  </Data>
  <TotalPage>2</TotalPage>
  <TotalRecord>1</TotalRecord>
</PagedOfMallThemeCommodityDtoTGkbMPFB>