# 获取-评论列表

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/cmtlist:
    get:
      summary: 获取-评论列表
      deprecated: false
      description: 获取-评论列表
      tags:
        - 作业接口
      parameters:
        - name: page
          in: query
          description: 当前页码数
          required: true
          example: '1'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    title: 业务状态码
                    description: 200成功
                  msg:
                    type: string
                    title: 响应消息
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                          title: 评论id
                        username:
                          type: string
                          title: 评论者姓名
                        content:
                          type: string
                          title: 评论内容
                        time:
                          type: string
                          title: 评论时间
                      required:
                        - id
                        - username
                        - content
                        - time
                      x-apifox-orders:
                        - id
                        - username
                        - content
                        - time
                    title: 响应数据
                  allPage:
                    type: integer
                    title: 总页码数
                    description: 默认后台设置了10条1页
                required:
                  - status
                  - msg
                  - data
                  - allPage
                x-apifox-orders:
                  - status
                  - msg
                  - data
                  - allPage
              example:
                status: 200
                msg: 获取评论列表成功
                data:
                  - id: 293
                    username: 老李
                    content: 大家好啊
                    time: '2023-02-23 14:00:44'
                  - id: 258
                    username: 是是是
                    content: 三生三世
                    time: '2021-09-24 15:07:16'
                  - id: 257
                    username: 是是是
                    content: 三生三世
                    time: '2021-09-24 15:07:15'
                  - id: 256
                    username: 是是是
                    content: 三生三世
                    time: '2021-09-24 15:07:15'
                  - id: 255
                    username: 是是是
                    content: 三生三世
                    time: '2021-09-24 15:07:15'
                  - id: 254
                    username: 是是是
                    content: 三生三世
                    time: '2021-09-24 15:06:53'
                  - id: 253
                    username: 各个风格
                    content: 腹股沟管
                    time: '2021-09-24 14:42:22'
                  - id: 252
                    username: 密码
                    content: 是华菱
                    time: '2021-09-24 12:11:59'
                  - id: 251
                    username: 密码
                    content: 是华菱
                    time: '2021-09-24 12:11:57'
                  - id: 250
                    username: 密码
                    content: 是华菱
                    time: '2021-09-24 12:11:56'
                allPage: 11
          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-64282606-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
