diff --git a/public/static/ueditorPlus/ueditor.config.js b/public/static/ueditorPlus/ueditor.config.js index 5006162..7c9cfd1 100644 --- a/public/static/ueditorPlus/ueditor.config.js +++ b/public/static/ueditorPlus/ueditor.config.js @@ -50,7 +50,7 @@ // 服务器统一请求接口路径 - serverUrl: "http://121.37.12.51/exam/exam/upload/configAndUpload", + serverUrl: "http://192.168.31.51:9000/exam/exam/upload/configAndUpload", imageActionName: "imgUpload", imageAllowFiles: [ ".png", diff --git a/src/api/index.js b/src/api/index.js index 27aff70..04b4365 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -5,26 +5,26 @@ export default { encrypt: `/nakadai/data/encrypt`, queryProfessional: `/exam/exam/professional/queryProfessional`, - categoriesDel: `/exam/question/bank/categories/batchDeletion`, - categoriesFind: `/exam/question/bank/categories/findById`, - getAllQuestionBankCategories: `/exam/question/bank/categories/getAllQuestionBankCategories`, - categoriesSave: `/exam/question/bank/categories/saveOrUpdate`, - categoriesDisable: `/exam/question/bank/categories/updateStatus`, + categoriesDel: `/exam/exam/question/bank/categories/batchDeletion`, + categoriesFind: `/exam/exam/question/bank/categories/findById`, + getAllQuestionBankCategories: `/exam/exam/question/bank/categories/getAllQuestionBankCategories`, + categoriesSave: `/exam/exam/question/bank/categories/saveOrUpdate`, + categoriesDisable: `/exam/exam/question/bank/categories/updateStatus`, - questionBankDel: `/exam/questionBank/batchDeletion`, - questionBankFind: `/exam/questionBank/findById`, - questionBankList: `/exam/questionBank/pagingQuery`, - questionBankSave: `/exam/questionBank/saveOrUpdate`, - questionBankDisable: `/exam/questionBank/updateStatus`, - copyQuestionBank: `/exam/questionBank/copyQuestionBank`, - questionBankStructureLevel: `/exam/question/bank/categories/questionBankStructureLevel`, + questionBankDel: `/exam/exam/questionBank/batchDeletion`, + questionBankFind: `/exam/exam/questionBank/findById`, + questionBankList: `/exam/exam/questionBank/pagingQuery`, + questionBankSave: `/exam/exam/questionBank/saveOrUpdate`, + questionBankDisable: `/exam/exam/questionBank/updateStatus`, + copyQuestionBank: `/exam/exam/questionBank/copyQuestionBank`, + questionBankStructureLevel: `/exam/exam/question/bank/categories/questionBankStructureLevel`, - TreeStructure: `/exam/knowledgeHierarchy/TreeStructure`, - classificationTreeStructure: `/exam/knowledgeHierarchy/classificationTreeStructure`, - knowledgeHierarchyDel: `/exam/knowledgeHierarchy/batchDeletion`, - knowledgeHierarchyFind: `/exam/knowledgeHierarchy/findById`, - knowledgeHierarchySave: `/exam/knowledgeHierarchy/saveOrUpdate`, - knowledgeHierarchyList: `/exam/knowledgeHierarchy/pagingQuery`, + TreeStructure: `/exam/exam/knowledgeHierarchy/TreeStructure`, + classificationTreeStructure: `/exam/exam/knowledgeHierarchy/classificationTreeStructure`, + knowledgeHierarchyDel: `/exam/exam/knowledgeHierarchy/batchDeletion`, + knowledgeHierarchyFind: `/exam/exam/knowledgeHierarchy/findById`, + knowledgeHierarchySave: `/exam/exam/knowledgeHierarchy/saveOrUpdate`, + knowledgeHierarchyList: `/exam/exam/knowledgeHierarchy/pagingQuery`, libraryClassificationDel: `/exam/exam/libraryClassification/delete`, libraryClassificationSave: `/exam/exam/libraryClassification/save`, @@ -57,17 +57,17 @@ export default { saveExamPaperTemplate: `/exam/exam/paperTemplate/saveExamPaperTemplate`, templateDetails: `/exam/exam/paperTemplate/templateDetails`, - addQuestion: `/exam/questions/addQuestion`, - findQuestion: `/exam/questions/findById`, - listQuestion: `/exam/questions/pagingQuery`, - updateQuestion: `/exam/questions/updateQuestion`, - batchImportQuestions: `${host}/exam/questions/batchImportQuestions`, - checkQuestion: `/exam/questions/checkQuestion`, - delQuestion: `/exam/questions/batchDeletion`, - checkQuestionIsUse: `/exam/questions/checkQuestionIsUse`, - copyQuestion: `/exam/questions/copyQuestion`, - createNewVersion: `/exam/questions/createNewVersion`, - disableOrEnableQuestion: `/exam/questions/disableOrEnableQuestion`, - findAllByQuestionBank: `/exam/questions/findAllByQuestionBank`, - selectQuestionsByTypeAndDifficulty: `/exam/questions/selectQuestionsByTypeAndDifficulty`, + addQuestion: `/exam/exam/questions/addQuestion`, + findQuestion: `/exam/exam/questions/findById`, + listQuestion: `/exam/exam/questions/pagingQuery`, + updateQuestion: `/exam/exam/questions/updateQuestion`, + batchImportQuestions: `${host}/exam/exam/questions/batchImportQuestions`, + checkQuestion: `/exam/exam/questions/checkQuestion`, + delQuestion: `/exam/exam/questions/batchDeletion`, + checkQuestionIsUse: `/exam/exam/questions/checkQuestionIsUse`, + copyQuestion: `/exam/exam/questions/copyQuestion`, + createNewVersion: `/exam/exam/questions/createNewVersion`, + disableOrEnableQuestion: `/exam/exam/questions/disableOrEnableQuestion`, + findAllByQuestionBank: `/exam/exam/questions/findAllByQuestionBank`, + selectQuestionsByTypeAndDifficulty: `/exam/exam/questions/selectQuestionsByTypeAndDifficulty`, } \ No newline at end of file diff --git a/src/components/ueditor/index.vue b/src/components/ueditor/index.vue index 1d97a15..75c2ed6 100644 --- a/src/components/ueditor/index.vue +++ b/src/components/ueditor/index.vue @@ -5,6 +5,7 @@