GET api/{area}/OEUser/GetCommentList?aid={aid}&shopId={shopId}&state={state}&pIndex={pIndex}&pageSize={pageSize}

查询评论

Request Information

URI Parameters

NameDescriptionTypeAdditional information
aid

用户ID

string

Required

shopId

商城ID

string

Required

state

有值则查询有图的、没值查询所有

string

Required

pIndex

第几页

integer

Default value is 1

pageSize

每页条数

integer

Default value is 12

area

string

None.

Body Parameters

None.

Response Information

Resource Description

ProdcutInfoDetails
NameDescriptionTypeAdditional information
CommentInfoList

评论集合

Collection of ProductCommentInfos

None.

TotalPageCount

页数

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CommentInfoList": [
    {
      "Id": "sample string 1",
      "NickName": "sample string 2",
      "AccountImage": "sample string 3",
      "Content": "sample string 4",
      "BuyInfo": "sample string 5",
      "ImageList": [
        {
          "url": "sample string 1",
          "img": "sample string 2",
          "text": "sample string 3",
          "description": "sample string 4",
          "isShowText": true,
          "type": 6,
          "createTime": "sample string 7"
        },
        {
          "url": "sample string 1",
          "img": "sample string 2",
          "text": "sample string 3",
          "description": "sample string 4",
          "isShowText": true,
          "type": 6,
          "createTime": "sample string 7"
        }
      ],
      "Useful": 6,
      "CreateTime": "sample string 7"
    },
    {
      "Id": "sample string 1",
      "NickName": "sample string 2",
      "AccountImage": "sample string 3",
      "Content": "sample string 4",
      "BuyInfo": "sample string 5",
      "ImageList": [
        {
          "url": "sample string 1",
          "img": "sample string 2",
          "text": "sample string 3",
          "description": "sample string 4",
          "isShowText": true,
          "type": 6,
          "createTime": "sample string 7"
        },
        {
          "url": "sample string 1",
          "img": "sample string 2",
          "text": "sample string 3",
          "description": "sample string 4",
          "isShowText": true,
          "type": 6,
          "createTime": "sample string 7"
        }
      ],
      "Useful": 6,
      "CreateTime": "sample string 7"
    }
  ],
  "TotalPageCount": 1
}

application/xml, text/xml

Sample:
<ProdcutInfoDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/open.wst.com.Areas.OnlineEducation.Models">
  <CommentInfoList>
    <ProductCommentInfos>
      <AccountImage>sample string 3</AccountImage>
      <BuyInfo>sample string 5</BuyInfo>
      <Content>sample string 4</Content>
      <CreateTime>sample string 7</CreateTime>
      <Id>sample string 1</Id>
      <ImageList xmlns:d4p1="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
        <d4p1:CommImageText>
          <d4p1:createTime>sample string 7</d4p1:createTime>
          <d4p1:description>sample string 4</d4p1:description>
          <d4p1:img>sample string 2</d4p1:img>
          <d4p1:isShowText>true</d4p1:isShowText>
          <d4p1:text>sample string 3</d4p1:text>
          <d4p1:type>6</d4p1:type>
          <d4p1:url>sample string 1</d4p1:url>
        </d4p1:CommImageText>
        <d4p1:CommImageText>
          <d4p1:createTime>sample string 7</d4p1:createTime>
          <d4p1:description>sample string 4</d4p1:description>
          <d4p1:img>sample string 2</d4p1:img>
          <d4p1:isShowText>true</d4p1:isShowText>
          <d4p1:text>sample string 3</d4p1:text>
          <d4p1:type>6</d4p1:type>
          <d4p1:url>sample string 1</d4p1:url>
        </d4p1:CommImageText>
      </ImageList>
      <NickName>sample string 2</NickName>
      <Useful>6</Useful>
    </ProductCommentInfos>
    <ProductCommentInfos>
      <AccountImage>sample string 3</AccountImage>
      <BuyInfo>sample string 5</BuyInfo>
      <Content>sample string 4</Content>
      <CreateTime>sample string 7</CreateTime>
      <Id>sample string 1</Id>
      <ImageList xmlns:d4p1="http://schemas.datacontract.org/2004/07/open.wst.com.Models">
        <d4p1:CommImageText>
          <d4p1:createTime>sample string 7</d4p1:createTime>
          <d4p1:description>sample string 4</d4p1:description>
          <d4p1:img>sample string 2</d4p1:img>
          <d4p1:isShowText>true</d4p1:isShowText>
          <d4p1:text>sample string 3</d4p1:text>
          <d4p1:type>6</d4p1:type>
          <d4p1:url>sample string 1</d4p1:url>
        </d4p1:CommImageText>
        <d4p1:CommImageText>
          <d4p1:createTime>sample string 7</d4p1:createTime>
          <d4p1:description>sample string 4</d4p1:description>
          <d4p1:img>sample string 2</d4p1:img>
          <d4p1:isShowText>true</d4p1:isShowText>
          <d4p1:text>sample string 3</d4p1:text>
          <d4p1:type>6</d4p1:type>
          <d4p1:url>sample string 1</d4p1:url>
        </d4p1:CommImageText>
      </ImageList>
      <NickName>sample string 2</NickName>
      <Useful>6</Useful>
    </ProductCommentInfos>
  </CommentInfoList>
  <TotalPageCount>1</TotalPageCount>
</ProdcutInfoDetails>