评论实例

字段名称 字段类型 字段说明
comment_id integer 评论ID
created_on string 创建时间
created_by array 创建人,用户对象,参考user.short实例
content string 评论展示内容
files array 包含的附件,文件对象数组,参考file实例
parent_comment object 回复的评论对象,评论对象
{
  "comment_id": 1927336,
  "content": "评论示例内容",
  "parent_comment": {
    "comment_id": 42141,
    "content": "评论示例内容",
    "files": [
      {
        "file_id": 1000,
        "name": "文件1",
        "created_on": "enable",
        "size": 2000,
        "created_by": {
          "user_id": 3000,
          "name": "用户1",
          "avatar": "http:\/\/f2.huoban.com\/30000\/user_avatar\/40000\/xxx"
        },
        "ref_id": 5000,
        "ref_type": "comment",
        "link": {
          "source": "http:\/\/hb-v4-attachment-oss.huoban.com\/xxx",
          "small": "http:\/\/hb-v4-attachment-oss.huoban.com\/xxx",
          "medium": "http:\/\/hb-v4-attachment-oss.huoban.com\/xxx",
          "large": "http:\/\/hb-v4-attachment-oss.huoban.com\/xxx",
          "square": "http:\/\/hb-v4-attachment-oss.huoban.com\/xxx"
        }
      }
    ],
    "created_by": {
      "user_id": 1001,
      "name": "用户1",
      "avatar": "http:\/\/f2.huoban.com\/30000\/user_avatar\/40000\/xxx"
    },
    "created_on": "2015-04-23 11:16:31"
  },
  "files": [],
  "created_by": {
    "user_id": 1000,
    "name": "用户1",
    "avatar": "http:\/\/f2.huoban.com\/30000\/user_avatar\/40000\/xxx"
  },
  "created_on": "2015-04-23 11:16:31"
}