You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
620 B
18 lines
620 B
5 years ago
|
var fly = require('../utils/request.js')
|
||
|
module.exports = {
|
||
|
getQuestionList: getQuestionList,
|
||
|
getMyQuestionList:getMyQuestionList,
|
||
|
submitAnswer:submitAnswer
|
||
|
}
|
||
|
// 工作端--待解答的心理咨询问题列表
|
||
|
function getQuestionList(param) {
|
||
|
return fly.get('work/property/psychology/listQuestion', param)
|
||
|
}
|
||
|
// 工作端--我解答的心理咨询问题列表
|
||
|
function getMyQuestionList(param) {
|
||
|
return fly.get('work/property/psychology/listMyQuestion', param)
|
||
|
}
|
||
|
// 工作端--心理咨询-提交问题的回答
|
||
|
function submitAnswer(param) {
|
||
|
return fly.post('work/property/psychology/submitAnswer', param)
|
||
|
}
|