文档
测试
POST
http://zfbbgp.natappfree.cc/app/college/course/index

接口描述

商学院首页接口

请求参数

参数名
类型
描述
必填
user_id
String
当前登录用户id 示例:1c1fa12253494122b181508baf39671a
必填

响应参数

参数名
类型
描述
必填
code
number
示例:0 成功 -1 失败
必填
errors
object
数据字典
必填
msg
string
示例:操作成功
必填
result
object
数据字典
必填
type_list
list
课程分类列表
必填
id
string
课程分类ID
必填
type_name
string
课程分类名称
必填
type_img
string
课程分类图片
必填
is_free
int
是否免费分享
必填
hot_course_list
list
热门推荐课程
必填
course_title
string
课程标题
必填
learn_total_num
int
学习总人数
必填
img_path
string
课程图片
必填
chapters_num
int
章节数量
必填
status
int
课程状态1.持续更新中2.已完结
必填
new_course_list
list
最新更新课程列表
必填
course_title
string
 课程标题
必填
learn_total_num
int
学习总人数
必填
img_path
string
课程图片
必填
publish_time
string
发布时间
必填
level_name
string
会员等级名称(比如:至尊会员免费学习)
必填
top_banner_list
list
商学院首页顶部轮播图
必填
img_path
string
图片地址
必填

说明 / 示例

## 响应示例 { "code": 1, "errors": {}, "msg": "操作成功", "result": { "type_list": [ { "type_name": "免费分享", "update_time": "", "is_free": 1, "background_img": "upload//202007/hot_list.png", "id": "48ca4d79decd4e3e82b6fbeec587ab0d", "type_img": "upload//202007/1595409889441.png", "sort": 1, "oem_id": "0726b52ccb574d46933da6b7802e9824" }, { "type_name": "赚钱项目", "update_time": "", "is_free": 0, "background_img": "upload//202007/hot_list.png", "id": "b61ed0acc1454ac9a2f0445e43641058", "type_img": "upload//202007/1595410600261.png", "sort": 2, "oem_id": "0726b52ccb574d46933da6b7802e9824" }, { "type_name": "抖音快手", "update_time": "", "is_free": 0, "background_img": "upload//202007/hot_list.png", "id": "f00c8388d9c14cd4aceb0408063c8d14", "type_img": "upload//202007/1595410635722.png", "sort": 3, "oem_id": "0726b52ccb574d46933da6b7802e9824" }, { "type_name": "引流爆粉", "update_time": "", "is_free": 0, "background_img": "upload//202007/hot_list.png", "id": "bce3fce8938e4ea994f6caa890e8421e", "type_img": "upload//202007/1595410702786.png", "sort": 4, "oem_id": "0726b52ccb574d46933da6b7802e9824" } ], "hot_course_list": [ { "user_level_sort": 4, "level_name": "三星服务商", "learn_total_num": 1, "img_path": "/upload/test.png", "publish_time": "2020-07-21 13:32:23", "course_title": "想红吗", "chapters_num": 1, "id": "abc6666", "status": 1 }, { "user_level_sort": 4, "level_name": "三星服务商", "learn_total_num": 2, "img_path": "/upload/test.png", "publish_time": "2020-07-21 13:32:23", "course_title": "如何引流", "chapters_num": 1, "id": "abc6667", "status": 1 } ], "new_course_list": [ { "user_level_sort": 4, "level_name": "三星服务商", "learn_total_num": 2, "img_path": "/upload/test.png", "publish_time": "2020-07-21 13:32:23", "course_title": "如何引流", "chapters_num": 1, "id": "abc6667", "status": 1 }, { "user_level_sort": 4, "level_name": "三星服务商", "learn_total_num": 1240, "img_path": "/upload/test.png", "publish_time": "2020-07-21 13:32:23", "course_title": "想赚钱吗", "chapters_num": 3, "id": "abc1234", "status": 2 }, { "user_level_sort": 4, "level_name": "三星服务商", "learn_total_num": 3, "img_path": "/upload/test.png", "publish_time": "2020-07-21 13:32:23", "course_title": "是的撒奥所多", "chapters_num": 1, "id": "cdx123", "status": 1 } ], "top_banner_list": [ { "img_path": "upload//201909/1569047076166.png", "remark": "商学院首页顶部轮播图", "id": "x1r19847fd074xb1b1f4491f4ca57922", "sort": 1, "type": 20, "oem_id": "0726b52ccb574d46933da6b7802e9824" }, { "img_path": "upload//201909/1569047076166.png", "remark": "商学院首页顶部轮播图", "id": "x1r99847fd074bb1b1f4491f3ca57921", "sort": 1, "type": 20, "oem_id": "0726b52ccb574d46933da6b7802e9824" } ] } }