# 评论

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths: {}
components:
  schemas:
    评论:
      type: object
      properties:
        id:
          type: string
          title: 评论 ID
          description: 唯一标识符，可选自增/雪花/UUID/其他
        video_id:
          type: string
          title: 视频 ID
          description: 视频的唯一标识符
        user_id:
          type: string
          title: 发表者 ID
          description: 发表评论的用户唯一标识符
        parent_id:
          type: string
          description: 父评论的唯一标识符
          title: 父评论 ID
        like_count:
          type: integer
          title: 点赞数
          description: 评论点赞的数量
        child_count:
          type: integer
          title: 子评论数
          description: 子评论的数量
        content:
          type: string
          title: 评论文本
          description: 建议进行一定的文本处理
      x-apifox-orders:
        - id
        - user_id
        - video_id
        - parent_id
        - like_count
        - child_count
        - content
        - 01HM15DHJ7A64E0T9MY7K5K9N2
      required:
        - id
        - video_id
        - content
        - user_id
        - parent_id
        - like_count
        - child_count
      x-apifox-refs:
        01HM15DHJ7A64E0T9MY7K5K9N2:
          $ref: '#/components/schemas/%E6%97%B6%E9%97%B4%E6%88%B3'
      x-apifox-folder: ''
    时间戳:
      type: object
      properties:
        created_at:
          type: string
          title: 创建时间
        updated_at:
          type: string
          title: 更新时间
        deleted_at:
          type: string
          title: 删除时间
      x-apifox-orders:
        - created_at
        - updated_at
        - deleted_at
      required:
        - created_at
        - updated_at
        - deleted_at
      x-apifox-folder: ''
  securitySchemes: {}
servers:
  - url: http://localhost:10001
    description: 开发环境
  - url: localhost:8888
    description: 测试环境
  - url: https://14efdb6874148af54dd6c98f749a9412-app.1024paas.com/douyin
    description: 正式环境
security: []

```
