# 新增-评论

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/addcmt:
    post:
      summary: 新增-评论
      deprecated: false
      description: 新增-评论
      tags:
        - 作业接口
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                username:
                  type: string
                  title: 评论者-姓名
                content:
                  type: string
                  title: 评论者-内容
              required:
                - username
                - content
              x-apifox-orders:
                - username
                - content
            example:
              username: 老李
              content: 大家好！
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    title: 业务状态码
                    description: 200成功
                  msg:
                    type: string
                    title: 响应消息
                required:
                  - status
                  - msg
                x-apifox-orders:
                  - status
                  - msg
              example:
                status: 201
                msg: 发表评论成功
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 作业接口
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/1937884/apis/api-64283578-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
