瀏覽代碼

部分接口增加/GCLS-TC

qinpeng 2 年之前
父節點
當前提交
7ef66ed650
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/api/api.js
  2. 1 1
      src/views/teacher-dev/TextAnalysis.vue
  3. 1 1
      vue.config.js

+ 1 - 1
src/api/api.js

@@ -143,7 +143,7 @@ export function VerifyLogin() {
 // 查询学习资料列表
 export function materiallist(data) {
     return request({
-        url: `/GCLSTCServer/material/list?UserCode=${UserCode}&UserType=${UserType}&SessionID=${SessionID}`,
+        url: `/GCLS-TC/GCLSTCServer/material/list?UserCode=${UserCode}&UserType=${UserType}&SessionID=${SessionID}`,
         method: "post",
         data,
     })

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

@@ -137,7 +137,7 @@ export default {
       }
       this.loading = true;
       postapi({
-        url: "GCLSTCServer/tools/TS/analys",
+        url: "/GCLS-TC/GCLSTCServer/tools/TS/analys",
         data: {
           tenantId: "",
           text: this.txt,

+ 1 - 1
vue.config.js

@@ -43,7 +43,7 @@ module.exports = {
       // http://mk.wmjh.cn
       // https://gcls.helxsoft.cn
       [process.env.VUE_APP_BASE_API]: {
-        target: `https://mk.wmjh.cn/`,
+        target: `https://gcls.helxsoft.cn`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''