文档
测试

培训内容列表

POST
http://127.0.0.1:8181/staff/train/trainList

请求参数

参数名
类型
描述
必填
pageNum
int
页码
必填
pageSize
int
一页显示的条数
必填
type
int
内容类型(1文章,2视频,3答题)
必填
position
long
培训大类id
必填

响应参数

参数名
类型
描述
必填
total
long
总条数
必填
list
list
培训内容列表
必填
id
long
内容id
必填
time
date
创建时间
必填
cover
string
封面
必填
title
string
内容标题
必填
remarks
string
描述
必填
content
string
培训内容
必填
type
int
内容类型(1文章,2视频,3答题)
必填
position
long
大类id
必填
positionName
string
大类标题
必填
score
int
得分
必填
progress
int
0未开始 1进行中 2已完成
必填
useTime
long
耗时
必填
compRate
string
完成率
必填
subjectNum
int
题目总数量
必填
num
int
完成人数
必填

说明 / 示例

**请求报文** ```json { "pageNum":"1", "pageSize":"10", "type":"1", "position":"19" } ``` **响应报文** ```json { "code": "0", "msg": "成功", "detail": null, "result": { "total": 1, "list": [ { "id": 25, "time": "2021-09-28T09:34:09.000+08:00", "lastupdate": null, "cover": "http://119.29.158.234:8888/group1/M00/00/AB/dx2e6mFSgM-Abqo1AAE9iPwszrw418.jpg", "title": "客服转正答题培训", "remarks": "客服文员转正培训", "content": "答题", "num": 29, "type": 3, "position": 21, "positionName": "客服培训", "score": 20, "progress": 1, "useTime": 63, "compRate": "66.67", "subjectNum": 3 } ] }, "traceId": "e73028cafc1249428f3622e56ab17bc1", "success": true } ```