文档
测试

04-热门好课

GET
http://localhost:5000/api/client/home/hot_course

接口描述

热门好课

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:查询热门课程成功!
必填
data
array
数据列表
必填
id
int
示例:1
必填
title
string
示例:Python语言核心
必填
fm_url
string
示例:/images/course/fm_1.jpg
必填
is_hot
int
示例:1
必填
comment_total_count
int
示例:4
必填
comment_avg_score
float
示例:4.75
必填

接口场景

#### 1. 应用场景 > 用作首页的"热门好课"模块展示 > - 展示热门的课程列表 > - 为了保证布局好看, 一般个数为5个 或者 10个 #### 2. 示意图 ![image.png](https://cos.easydoc.net/24333350/files/kclolsk7.png)