[update] 问答库联调
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ const getWorkGroupTreeList = (params) => getAction('/sys/lawsWorkingGroup/list',
|
||||
const getEnterpriseLevelMapList = (params) => getAction('/sys/lawsGrade/list', params)
|
||||
|
||||
// 车型项目下拉数据
|
||||
const getCarTypeProjectList = (params) => getAction('/projectLibrary/lawsProjectLibrary/list', params)
|
||||
const getCarTypeProjectList = (params) => getAction('/projectLibrary/lawsProjectLibrary/queryList', params)
|
||||
|
||||
export {
|
||||
addRole,
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
import { getAction, postAction } from './manage'
|
||||
|
||||
// 问答库详情-根据id获取问题信息
|
||||
const getQuizById = (params) => getAction('/laws/library/lawsProblemLibrary/queryById', params)
|
||||
// 问答库回答-回答
|
||||
const answerQuiz = (params) => postAction('/laws/library/lawsProblemLibrary/addAnswer', params)
|
||||
// 问答库回答-设置置顶
|
||||
const setOrCancelTop = (params) => getAction('/laws/library/lawsProblemLibrary/isTop', params)
|
||||
// 回答库详情-删除回答
|
||||
const deleteAnswer = (params) => postAction('/laws/library/lawsProblemLibrary/deleteAnswer', params)
|
||||
|
||||
export {
|
||||
getQuizById,
|
||||
answerQuiz,
|
||||
setOrCancelTop,
|
||||
deleteAnswer
|
||||
}
|
||||
Reference in New Issue
Block a user