Quellcode durchsuchen

修改接口路径

qinpeng vor 2 Jahren
Ursprung
Commit
9ff6dd1bca

+ 3 - 3
public/ciyun/ciyunindex.html

@@ -372,7 +372,7 @@
                 stopWordStatus: stopWordStatus,
             }
             $.ajax({
-                url: window.g.BASE_URL + "/GCLSTRCServer/tools/TS/glossary/ciyun",
+                url: window.g.BASE_URL + "/GCLSTCServer/tools/TS/glossary/ciyun",
                 // url: "/i21st-newspaper-management-test/api/article/detail/wordCloud",
                 data: JSON.stringify(data),
                 contentType: "application/json",
@@ -481,7 +481,7 @@
 
         function initStopWords() {
             $.ajax({
-                url: window.g.BASE_URL + "/GCLSTRCServer/tools/TS/stop/word/list",
+                url: window.g.BASE_URL + "/GCLSTCServer/tools/TS/stop/word/list",
                 // url: "/i21st-newspaper-management-test/api/user/stopVocab/get",
                 data: JSON.stringify({}),
                 contentType: "application/json;charset=UTF-8",
@@ -727,7 +727,7 @@
         function updatawordData() {
             let userStopVocab = JSON.parse(JSON.stringify(oldstopWordList));
             $.ajax({
-                url: window.g.BASE_URL + "/GCLSTRCServer/tools/TS/stop/word/save",
+                url: window.g.BASE_URL + "/GCLSTCServer/tools/TS/stop/word/save",
                 // url: "/i21st-newspaper-management-test/api/user/stopVocab/update",
                 data: JSON.stringify({ tenantId: "", wordList: userStopVocab }),
                 contentType: "application/json;charset=UTF-8",

+ 1 - 1
src/views/Textanalysis/WordTable.vue

@@ -188,7 +188,7 @@ export default {
     getlist() {
       this.loading = true;
       postapi({
-        url: "/GCLSTRCServer/tools/TS/glossary/list",
+        url: "/GCLSTCServer/tools/TS/glossary/list",
         data: {
           pageIndex: this.page,
           pageSize: this.pageSize,

+ 2 - 2
src/views/Textanalysis/index.vue

@@ -1046,7 +1046,7 @@ export default {
             : this.base.vocabularyTextCount;
       }
       postapi({
-        url: "GCLSTRCServer/tools/TS/statistics",
+        url: "GCLSTCServer/tools/TS/statistics",
         data: {
           searchType: this.leftNavIndex,
           partitionKey: this.partitionKey,
@@ -1076,7 +1076,7 @@ export default {
     getArticleData() {
       this.loading = true;
       postapi({
-        url: "GCLSTRCServer/tools/TS/analysis/parsed/text",
+        url: "GCLSTCServer/tools/TS/analysis/parsed/text",
         data: {
           partitionKey: this.partitionKey,
         },

+ 1 - 1
src/views/login.vue

@@ -212,7 +212,7 @@ export default {
             .then((res) => {
               let tokenData = res;
               postapi({
-                url: "GCLSTRCServer/login",
+                url: "GCLSTCServer/login",
                 data: {
                   userCode: res.user_code,
                   userType: res.user_type,

+ 4 - 4
src/views/teacher-dev/TextAnalysis.vue

@@ -97,7 +97,7 @@ export default {
     deleteOne(id, index) {
       this.loading = true;
       postapi({
-        url: "GCLSTRCServer/tools/TS/analysis/record/del",
+        url: "GCLSTCServer/tools/TS/analysis/record/del",
         data: {
           id,
         },
@@ -116,7 +116,7 @@ export default {
       this.loading = true;
 
       postapi({
-        url: "GCLSTRCServer/tools/TS/reparse",
+        url: "GCLSTCServer/tools/TS/reparse",
         data: {
           partitionKey: item.partitionKey,
         },
@@ -137,7 +137,7 @@ export default {
       }
       this.loading = true;
       postapi({
-        url: "GCLSTRCServer/tools/TS/analys",
+        url: "GCLSTCServer/tools/TS/analys",
         data: {
           tenantId: "",
           text: this.txt,
@@ -155,7 +155,7 @@ export default {
     getlist(msg) {
       this.loading = true;
       postapi({
-        url: "GCLSTRCServer/tools/TS/analysis/record/list",
+        url: "GCLSTCServer/tools/TS/analysis/record/list",
         data: {
           pageIndex: this.page,
           pageSize: this.pageSize,