【新增】 word出题页面,半完善
This commit is contained in:
@@ -16,6 +16,11 @@ export const getSimpleWordList = async (): Promise<WordVO[]> => {
|
||||
return await request.get({ url: '/wps/word/simple-list' })
|
||||
}
|
||||
|
||||
// 查询Word节点列表(小类)
|
||||
export const getWordInfos = async (params: any) => {
|
||||
return await request.get({ url: '/wps/word/listInfo', params })
|
||||
}
|
||||
|
||||
// 查询Word节点列表
|
||||
export const getWordPage = async (params: PageParam) => {
|
||||
return await request.get({ url: '/wps/word/list', params })
|
||||
@@ -40,3 +45,11 @@ export const updateWord = async (params: WordVO) => {
|
||||
export const deleteWord = async (id: number) => {
|
||||
return await request.delete({ url: '/wps/word/delete?id=' + id })
|
||||
}
|
||||
// 获取Word考点(大类)
|
||||
export const getWordInfo = async (path: String) => {
|
||||
return await request.get({ url: '/tool/wps/runWpsWord?path=' + path })
|
||||
}
|
||||
// 获取Word考点()
|
||||
export const getWordListInfos = async (data: any) => {
|
||||
return await request.post({ url: '/tool/wps/runWpsWordInfo' , data })
|
||||
}
|
||||
|
Reference in New Issue
Block a user