西科API平台
    西科API平台
    • 获取一站式服务大厅登录session和验证码
      GET
    • 登录一站式服务大厅
      POST
    • 通过一站式服务大厅登录其它系统
      POST
    • 获取所有课程
      POST
    • 新增评论
      POST
    • 用户登陆获取token
      POST
    • 获取评论列表
      GET
    • 回复评论
      POST
    • 邮箱验证码登陆
      POST
    • 获取登陆验证码
      POST
    • 上传文件
      POST

      获取评论列表

      开发中
      GET
      http://s.front.lc/api/comment/list
      最后修改时间:2024-01-13 13:02:40

      请求参数

      Query 参数
      externalId
      string 
      可选
      示例值:
      test
      Header 参数
      authorization
      string 
      可选
      示例值:
      eyJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwiZW1haWwiOiJsY0Bmcm9udC5sYyJ9.Bun0onERvIbqmPVg5sBtbdZcIcRfnD0zxKpixrlixOw

      示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'http://s.front.lc/api/comment/list?externalId=test' \
      --header 'authorization: eyJhbGciOiJIUzI1NiJ9.eyJpZCI6MSwiZW1haWwiOiJsY0Bmcm9udC5sYyJ9.Bun0onERvIbqmPVg5sBtbdZcIcRfnD0zxKpixrlixOw'

      返回响应

      🟢200成功
      application/json
      Body
      msg
      string 
      必需
      code
      integer 
      必需
      data
      object 
      必需
      id
      integer 
      必需
      desc
      string 
      必需
      externalId
      string 
      必需
      userId
      integer 
      必需
      commentArr
      array [object {7}] 
      必需
      示例
      {
          "msg": "string",
          "code": 0,
          "data": {
              "id": 0,
              "desc": "string",
              "externalId": "string",
              "userId": 0,
              "commentArr": [
                  {
                      "id": 0,
                      "sourceId": 0,
                      "createdAt": "string",
                      "content": "string",
                      "userId": 0,
                      "replyArr": [
                          {
                              "id": 0,
                              "createdAt": "string",
                              "sourceId": 0,
                              "content": "string",
                              "userId": 0,
                              "replyUserId": 0,
                              "user": {
                                  "id": 0,
                                  "name": "string"
                              },
                              "reply": {
                                  "id": 0,
                                  "name": "string"
                              }
                          }
                      ],
                      "user": {
                          "id": 0,
                          "name": "string"
                      }
                  }
              ]
          }
      }
      修改于 2024-01-13 13:02:40
      上一页
      用户登陆获取token
      下一页
      回复评论
      Built with