GET api/MallCommodity/CountCommodityBrowseHistory
获取商品浏览记录数
Request Information
URI Parameters
None.
Body Parameters
CommodityBrowseHistorySearchDto| Name | 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>2025-12-16T16:02:31.5804048+08:00</BrowseEnd> <BrowseStart>2025-12-16T16:02:31.5804048+08:00</BrowseStart> <UserId>1</UserId> <UserState>2</UserState> </CommodityBrowseHistorySearchDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
获取商品浏览记录数
integerResponse Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>