功能说明:获取讲师信息列表
请求方式:POST
请求地址:https://qwif.do1.com.cn/qwcgi/api/learn/searchTeacher.do?token=token&corpId=corpId&id=id
参数
|
类型
|
说明
|
---|---|---|
page
|
long
|
页码
|
pageSize
|
int
|
<=500
|
Integer page = 1; // 页码 Integer pageSize = 1; // 页长 ExamApi examApi = QwSdkUtil.getInter(ExamApi.class); ApiSearchTeacherVO result = examApi.searchTeacher( QwSdkUtil.getCacheToken(), page, pageSize); System.out.println(JSONUtil.stringify(result)); } private static void searchQuestion() { Integer page = 1; // 页码 Integer pageSize = 1; // 页长 String poolId = "d88458af80c34b39a55164d7b7806f2e"; ExamApi examApi = QwSdkUtil.getInter(ExamApi.class); ApiSearchQuestionVO result = examApi.searchQuestion( QwSdkUtil.getCacheToken(), page, pageSize, poolId); System.out.println(JSONUtil.stringify(result));
{ "code":"0", "data": { "currPage":1, "maxPage":47, "pageData": [ { "content":"五维生物", "courseCount":2, "phone":"400-111-2626", "position":"宇宙科学第一人,神学第一人,众神之师", "type":1, "userName":"神秘人" } ], "totalRows":47 }, "desc":"查询成功" }
data
|
类型
|
说明
|
---|---|---|
currPage
|
long
|
当前页
|
maxPage
|
long
|
最大页
|
pageData
|
arr
|
列表
|
data
|
类型
|
说明
|
---|---|---|
userName
|
String
|
姓名
|
type
|
String
|
讲师类型(0内部讲师,1外部讲师)
|
phone
|
String
|
联系电话
|
position
|
int
|
头衔
|
content
|
int
|
介绍
|
courseCount
|
int
|
课程数
|