GET api/MallCommodity/GetPagedCommodityBrowseHistory
获取商品浏览记录
Request Information
URI Parameters
None.
Body Parameters
CommodityBrowseHistorySearchDtoName | Description | Type | Additional information |
---|---|---|---|
UserId |
浏览人标识 |
integer |
None. |
UserState |
浏览人用户态 |
integer |
None. |
BrowseStart |
浏览起始日期 |
date |
None. |
BrowseEnd |
浏览截止日期 |
date |
None. |
PageSize |
每页条数 |
integer |
None. |
Search |
关键字 |
string |
None. |
Keywords |
关键字 |
string |
None. |
PageID |
分页页数 |
integer |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<CommodityBrowseHistorySearchDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Mall.Service.Dto.Commodity"> <PageID xmlns="http://schemas.datacontract.org/2004/07/Mh.WebHelper.Pages">5</PageID> <PageSize xmlns="http://schemas.datacontract.org/2004/07/Mh.WebHelper.Pages">3</PageSize> <Search xmlns="http://schemas.datacontract.org/2004/07/Mh.WebHelper.Pages">sample string 4</Search> <BrowseEnd>2024-05-03T08:00:11.7489357+08:00</BrowseEnd> <BrowseStart>2024-05-03T08:00:11.7489357+08:00</BrowseStart> <UserId>1</UserId> <UserState>2</UserState> </CommodityBrowseHistorySearchDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
获取商品浏览记录
PagedOfCommodityBrowseHistoryDtoName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of CommodityBrowseHistoryDto |
None. |
|
TotalRecord | integer |
None. |
|
TotalPage | integer |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<PagedOfCommodityBrowseHistoryDtoYT1MdKiy 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.Commodity"> <d2p1:CommodityBrowseHistoryDto> <d2p1:BrowseTime>2024-05-03T08:00:11.7489357+08:00</d2p1:BrowseTime> <d2p1:BrowseUserId>4</d2p1:BrowseUserId> <d2p1:Chrimage>sample string 6</d2p1:Chrimage> <d2p1:Chrtitle>sample string 5</d2p1:Chrtitle> <d2p1:DistributionPrice>10.1</d2p1:DistributionPrice> <d2p1:EndDate>2024-05-03T08:00:11.7489357+08:00</d2p1:EndDate> <d2p1:Id>1</d2p1:Id> <d2p1:IsShelf>true</d2p1:IsShelf> <d2p1:IsSinglePrice>true</d2p1:IsSinglePrice> <d2p1:MarketPrice>7.1</d2p1:MarketPrice> <d2p1:ProductId>2</d2p1:ProductId> <d2p1:RobBuyPrice>8.1</d2p1:RobBuyPrice> <d2p1:ShopStock>11</d2p1:ShopStock> <d2p1:SoldNum>17</d2p1:SoldNum> <d2p1:StartDate>2024-05-03T08:00:11.7489357+08:00</d2p1:StartDate> <d2p1:SubPrice>9.1</d2p1:SubPrice> <d2p1:VirtualSales>14</d2p1:VirtualSales> </d2p1:CommodityBrowseHistoryDto> <d2p1:CommodityBrowseHistoryDto> <d2p1:BrowseTime>2024-05-03T08:00:11.7489357+08:00</d2p1:BrowseTime> <d2p1:BrowseUserId>4</d2p1:BrowseUserId> <d2p1:Chrimage>sample string 6</d2p1:Chrimage> <d2p1:Chrtitle>sample string 5</d2p1:Chrtitle> <d2p1:DistributionPrice>10.1</d2p1:DistributionPrice> <d2p1:EndDate>2024-05-03T08:00:11.7489357+08:00</d2p1:EndDate> <d2p1:Id>1</d2p1:Id> <d2p1:IsShelf>true</d2p1:IsShelf> <d2p1:IsSinglePrice>true</d2p1:IsSinglePrice> <d2p1:MarketPrice>7.1</d2p1:MarketPrice> <d2p1:ProductId>2</d2p1:ProductId> <d2p1:RobBuyPrice>8.1</d2p1:RobBuyPrice> <d2p1:ShopStock>11</d2p1:ShopStock> <d2p1:SoldNum>17</d2p1:SoldNum> <d2p1:StartDate>2024-05-03T08:00:11.7489357+08:00</d2p1:StartDate> <d2p1:SubPrice>9.1</d2p1:SubPrice> <d2p1:VirtualSales>14</d2p1:VirtualSales> </d2p1:CommodityBrowseHistoryDto> </Data> <TotalPage>2</TotalPage> <TotalRecord>1</TotalRecord> </PagedOfCommodityBrowseHistoryDtoYT1MdKiy>