GET api/Comment/GetFrontCommentPages?IsKill={IsKill}&CommentType={CommentType}&ThirdId={ThirdId}&HasBeenReplied={HasBeenReplied}&PageSize={PageSize}&Search={Search}&PageID={PageID}

获取前台评论列表带分页 公共评论,返回内容无评分。不可用于小区和楼盘

Request Information

URI Parameters

NameDescriptionTypeAdditional information
IsKill

是否审核

AuditStatusType

None.

CommentType

评论分类

NewsStyleidType

None.

ThirdId

评论关联业务Id

integer

None.

HasBeenReplied

是否已被回复

boolean

None.

PageSize

每页条数

integer

None.

Search

关键字

string

None.

Keywords

关键字

string

None.

PageID

分页页数

integer

None.

Body Parameters

None.

Response Information

Resource Description

获取前台评论列表带分页 公共评论,返回内容无评分。不可用于小区和楼盘

PagedOfCommentCommonDto
NameDescriptionTypeAdditional information
Data

Collection of CommentCommonDto

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:
<PagedOfCommentCommonDtoaJYTl2Cb 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.Common.Service.Dto.Comment">
    <d2p1:CommentCommonDto>
      <d2p1:CommentType>GShop</d2p1:CommentType>
      <d2p1:Content>sample string 5</d2p1:Content>
      <d2p1:CreateTime>2024-04-30T09:26:42.2853802+08:00</d2p1:CreateTime>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Ip>sample string 13</d2p1:Ip>
      <d2p1:IsAdminComment>true</d2p1:IsAdminComment>
      <d2p1:IsKill>TobeAgree</d2p1:IsKill>
      <d2p1:IsSpecial>true</d2p1:IsSpecial>
      <d2p1:KillReason>sample string 18</d2p1:KillReason>
      <d2p1:Likes>16</d2p1:Likes>
      <d2p1:ParentId>4</d2p1:ParentId>
      <d2p1:RegIpRegion>sample string 8</d2p1:RegIpRegion>
      <d2p1:ReplyNum>17</d2p1:ReplyNum>
      <d2p1:SecondCommentDtos>
        <d2p1:CommentSecondCommonDto>
          <d2p1:CommentType>GShop</d2p1:CommentType>
          <d2p1:Content>sample string 5</d2p1:Content>
          <d2p1:CreateTime>2024-04-30T09:26:42.2853802+08:00</d2p1:CreateTime>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:IsAdminComment>true</d2p1:IsAdminComment>
          <d2p1:IsKill>TobeAgree</d2p1:IsKill>
          <d2p1:KillReason>sample string 12</d2p1:KillReason>
          <d2p1:ParentId>4</d2p1:ParentId>
          <d2p1:RegIpRegion>sample string 8</d2p1:RegIpRegion>
          <d2p1:ThirdId>2</d2p1:ThirdId>
          <d2p1:ThirdTitle>sample string 3</d2p1:ThirdTitle>
          <d2p1:UserHeadFile>sample string 9</d2p1:UserHeadFile>
          <d2p1:UserId>6</d2p1:UserId>
          <d2p1:UserName>sample string 7</d2p1:UserName>
        </d2p1:CommentSecondCommonDto>
        <d2p1:CommentSecondCommonDto>
          <d2p1:CommentType>GShop</d2p1:CommentType>
          <d2p1:Content>sample string 5</d2p1:Content>
          <d2p1:CreateTime>2024-04-30T09:26:42.2853802+08:00</d2p1:CreateTime>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:IsAdminComment>true</d2p1:IsAdminComment>
          <d2p1:IsKill>TobeAgree</d2p1:IsKill>
          <d2p1:KillReason>sample string 12</d2p1:KillReason>
          <d2p1:ParentId>4</d2p1:ParentId>
          <d2p1:RegIpRegion>sample string 8</d2p1:RegIpRegion>
          <d2p1:ThirdId>2</d2p1:ThirdId>
          <d2p1:ThirdTitle>sample string 3</d2p1:ThirdTitle>
          <d2p1:UserHeadFile>sample string 9</d2p1:UserHeadFile>
          <d2p1:UserId>6</d2p1:UserId>
          <d2p1:UserName>sample string 7</d2p1:UserName>
        </d2p1:CommentSecondCommonDto>
      </d2p1:SecondCommentDtos>
      <d2p1:ThirdId>3</d2p1:ThirdId>
      <d2p1:ThirdTitle>sample string 2</d2p1:ThirdTitle>
      <d2p1:UserContact>sample string 10</d2p1:UserContact>
      <d2p1:UserContactName>sample string 9</d2p1:UserContactName>
      <d2p1:UserGender>Male</d2p1:UserGender>
      <d2p1:UserHeadFile>sample string 11</d2p1:UserHeadFile>
      <d2p1:UserId>6</d2p1:UserId>
      <d2p1:UserName>sample string 7</d2p1:UserName>
    </d2p1:CommentCommonDto>
    <d2p1:CommentCommonDto>
      <d2p1:CommentType>GShop</d2p1:CommentType>
      <d2p1:Content>sample string 5</d2p1:Content>
      <d2p1:CreateTime>2024-04-30T09:26:42.2853802+08:00</d2p1:CreateTime>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Ip>sample string 13</d2p1:Ip>
      <d2p1:IsAdminComment>true</d2p1:IsAdminComment>
      <d2p1:IsKill>TobeAgree</d2p1:IsKill>
      <d2p1:IsSpecial>true</d2p1:IsSpecial>
      <d2p1:KillReason>sample string 18</d2p1:KillReason>
      <d2p1:Likes>16</d2p1:Likes>
      <d2p1:ParentId>4</d2p1:ParentId>
      <d2p1:RegIpRegion>sample string 8</d2p1:RegIpRegion>
      <d2p1:ReplyNum>17</d2p1:ReplyNum>
      <d2p1:SecondCommentDtos>
        <d2p1:CommentSecondCommonDto>
          <d2p1:CommentType>GShop</d2p1:CommentType>
          <d2p1:Content>sample string 5</d2p1:Content>
          <d2p1:CreateTime>2024-04-30T09:26:42.2853802+08:00</d2p1:CreateTime>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:IsAdminComment>true</d2p1:IsAdminComment>
          <d2p1:IsKill>TobeAgree</d2p1:IsKill>
          <d2p1:KillReason>sample string 12</d2p1:KillReason>
          <d2p1:ParentId>4</d2p1:ParentId>
          <d2p1:RegIpRegion>sample string 8</d2p1:RegIpRegion>
          <d2p1:ThirdId>2</d2p1:ThirdId>
          <d2p1:ThirdTitle>sample string 3</d2p1:ThirdTitle>
          <d2p1:UserHeadFile>sample string 9</d2p1:UserHeadFile>
          <d2p1:UserId>6</d2p1:UserId>
          <d2p1:UserName>sample string 7</d2p1:UserName>
        </d2p1:CommentSecondCommonDto>
        <d2p1:CommentSecondCommonDto>
          <d2p1:CommentType>GShop</d2p1:CommentType>
          <d2p1:Content>sample string 5</d2p1:Content>
          <d2p1:CreateTime>2024-04-30T09:26:42.2853802+08:00</d2p1:CreateTime>
          <d2p1:Id>1</d2p1:Id>
          <d2p1:IsAdminComment>true</d2p1:IsAdminComment>
          <d2p1:IsKill>TobeAgree</d2p1:IsKill>
          <d2p1:KillReason>sample string 12</d2p1:KillReason>
          <d2p1:ParentId>4</d2p1:ParentId>
          <d2p1:RegIpRegion>sample string 8</d2p1:RegIpRegion>
          <d2p1:ThirdId>2</d2p1:ThirdId>
          <d2p1:ThirdTitle>sample string 3</d2p1:ThirdTitle>
          <d2p1:UserHeadFile>sample string 9</d2p1:UserHeadFile>
          <d2p1:UserId>6</d2p1:UserId>
          <d2p1:UserName>sample string 7</d2p1:UserName>
        </d2p1:CommentSecondCommonDto>
      </d2p1:SecondCommentDtos>
      <d2p1:ThirdId>3</d2p1:ThirdId>
      <d2p1:ThirdTitle>sample string 2</d2p1:ThirdTitle>
      <d2p1:UserContact>sample string 10</d2p1:UserContact>
      <d2p1:UserContactName>sample string 9</d2p1:UserContactName>
      <d2p1:UserGender>Male</d2p1:UserGender>
      <d2p1:UserHeadFile>sample string 11</d2p1:UserHeadFile>
      <d2p1:UserId>6</d2p1:UserId>
      <d2p1:UserName>sample string 7</d2p1:UserName>
    </d2p1:CommentCommonDto>
  </Data>
  <TotalPage>2</TotalPage>
  <TotalRecord>1</TotalRecord>
</PagedOfCommentCommonDtoaJYTl2Cb>