谷粒微课
  1. 评价模块
谷粒微课
  • 谷粒微课接口文档
  • 用户管理
    • 微信登录
      GET
    • 获取用户信息
      GET
  • 项目首页
    • 首页轮播图
      GET
    • 热门课程+名师大咖
      GET
  • 课程模块
    • 课程列表
      GET
    • 课程详情
      GET
    • 收藏课程
      POST
    • 取消收藏
      DELETE
    • 收藏列表
      GET
    • 阿里云视频播放授权
      GET
  • 评价模块
    • 评论列表
      GET
    • 发送评论
      POST
  • 名师大咖
    • 名师列表
      GET
    • 名师详情
      GET
  • 订单支付
    • 创建订单
      POST
    • 订单信息
      GET
    • 微信支付
      GET
    • 支付状态
      GET
    • 订单列表
      GET
  1. 评价模块

评论列表

GET
/api/edu/comment/{page}/{limit}

请求参数

Path 参数
page
string 
当前页码
必需
limit
string 
每页记录数
必需
Query 参数
courseId
string 
课程 id
可选

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://gmall-prod.atguigu.cn/skb/api/edu/comment//?courseId='

返回响应

🟢200成功
application/json
Body
success
boolean 
必需
code
integer 
必需
message
string 
必需
data
object 
必需
current
integer 
必需
total
integer 
必需
pages
integer 
必需
size
integer 
必需
hasPrevious
boolean 
必需
hasNext
boolean 
必需
items
array [object {10}] 
必需
示例
{
    "success": true,
    "code": 47,
    "message": "nostrud in qui",
    "data": {
        "current": 67,
        "total": 97,
        "pages": 95,
        "size": 55,
        "hasPrevious": false,
        "hasNext": true,
        "items": [
            {
                "id": "86",
                "gmtCreate": "in sit qui enim laborum",
                "gmtModified": "nisi consectetur in et",
                "deleted": null,
                "courseId": "75",
                "teacherId": "7",
                "memberId": "97",
                "nickname": "白涛",
                "avatar": "http://dummyimage.com/100x100",
                "content": "occaecat esse nisi"
            },
            {
                "id": "41",
                "gmtCreate": "tempor occaecat nostrud dolor culpa",
                "gmtModified": "nostrud non",
                "deleted": null,
                "courseId": "53",
                "teacherId": "30",
                "memberId": "77",
                "nickname": "郝伟",
                "avatar": "http://dummyimage.com/100x100",
                "content": "dolore in minim cillum cupidatat"
            },
            {
                "id": "50",
                "gmtCreate": "nostrud sed mollit consectetur",
                "gmtModified": "id",
                "deleted": null,
                "courseId": "13",
                "teacherId": "25",
                "memberId": "44",
                "nickname": "任秀兰",
                "avatar": "http://dummyimage.com/100x100",
                "content": "ut elit ullamco consequat sunt"
            },
            {
                "id": "90",
                "gmtCreate": "exercitation quis",
                "gmtModified": "velit do in consequat",
                "deleted": null,
                "courseId": "69",
                "teacherId": "10",
                "memberId": "98",
                "nickname": "杜秀英",
                "avatar": "http://dummyimage.com/100x100",
                "content": "dolore"
            },
            {
                "id": "94",
                "gmtCreate": "velit veniam",
                "gmtModified": "adipisicing sunt minim ex",
                "deleted": null,
                "courseId": "84",
                "teacherId": "35",
                "memberId": "30",
                "nickname": "吴强",
                "avatar": "http://dummyimage.com/100x100",
                "content": "proident labore incididunt qui deserunt"
            }
        ]
    }
}
修改于 2023-03-28 15:01:39
上一页
阿里云视频播放授权
下一页
发送评论
Built with