songxy 2 mesi fa
parent
commit
9e525399eb

+ 2 - 2
ais_search_zj/web/public/config.js

@@ -60,8 +60,8 @@
     knowledgeServer2: 'https://natureai.zjugis.com/liqchat',
     knowledgeDocUrl: 'http://127.0.0.1:20331/',
     knowledgeDocUrl2: 'http://127.0.0.1:20339/',
-    knowledgeDocUrlProxy: 'https://ai.zrzyt.zj.gov.cn/aiServer/',
-    knowledgeDocUrlProxy2: 'https://ai.zrzyt.zj.gov.cn/aisChat/',
+    knowledgeDocUrlProxy: 'https://ai.zrzyt.zj.gov.cn:10086/aiServer/',
+    knowledgeDocUrlProxy2: 'https://ai.zrzyt.zj.gov.cn:10086/aisChat/',
     landMarketUrl: 'https://natureai.zjugis.com/subscribe/',
     //解析表格
     dataAnalysisChatUrl: "/lianqiai/tools/data_analysis_chat",

+ 1 - 1
ais_search_zj/web/src/views/gdfx/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="znxz_box">
-    <iframe border="0" frameborder="no" src='https://ai.zrzyt.zj.gov.cn/gdfx/#/sjznfx' />
+    <iframe border="0" frameborder="no" src='https://ai.zrzyt.zj.gov.cn:10086/gdfx/#/sjznfx' />
   </div>
 </template>
 

+ 1 - 1
ais_search_zj/web/src/views/zcdb/smartComparison.vue

@@ -136,7 +136,7 @@ const handleChange = (info, type) => {
     processNum.value = 100
     message.success(`${info.file.name} 文件上传成功.`);
     const id = 'title-' + new Date().getTime();
-    const url = 'https://ai.zrzyt.zj.gov.cn/aisKnowledge' + info.file.response.data;
+    const url = 'https://ai.zrzyt.zj.gov.cn:10086/aisKnowledge' + info.file.response.data;
     var item = {
       id: id,
       f_title: name,

+ 1 - 1
ais_search_zj/web/src/views/zjjd/index.vue

@@ -267,7 +267,7 @@ const handleChange = (info) => {
   if (status === 'done') {
     processNum.value = 100;
     fileDetail.value = info.file.originFileObj;
-    fileUrl.value = 'https://ai.zrzyt.zj.gov.cn/aisKnowledge' + info.file.response.data;
+    fileUrl.value = 'https://ai.zrzyt.zj.gov.cn:10086/aisKnowledge' + info.file.response.data;
     chatDesc.value = [];
     loading.value = false;
     content.value = '';

+ 1 - 1
ais_search_zj/web/src/views/znxz/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="znxz_box">
-    <iframe border="0" frameborder="no" src='https://ai.zrzyt.zj.gov.cn/znxz/#/znxz' />
+    <iframe border="0" frameborder="no" src='https://ai.zrzyt.zj.gov.cn:10086/znxz/#/znxz' />
   </div>
 </template>
 

+ 1 - 1
ais_search_zj/web/src/views/ztzs/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="znxz_box">
-    <iframe border="0" frameborder="no" src='https://ai.zrzyt.zj.gov.cn/znxz/#/ztzs' />
+    <iframe border="0" frameborder="no" src='https://ai.zrzyt.zj.gov.cn:10086/znxz/#/ztzs' />
   </div>
 </template>
 

+ 7 - 7
ais_search_zj/web/vite.config.js

@@ -42,21 +42,21 @@ export default defineConfig({
     proxy: {
       '/server': {
         // target: 'http://10.10.8.238:9999/',
-          target: 'https://ai.zrzyt.zj.gov.cn/aisKnowledge',
+          target: 'https://ai.zrzyt.zj.gov.cn:10086/aisKnowledge',
           // target: 'https://zdzy.zrzyt.zj.gov.cn/aisKnowledge',
           changeOrigin: true,
           rewrite: function (path) { return path.replace(/^\/server/, ''); }
       },
       '/aisKnowledge': {
         // target: 'http://10.10.8.238:9999/',
-          target: 'https://ai.zrzyt.zj.gov.cn/aisKnowledge',
+          target: 'https://ai.zrzyt.zj.gov.cn:10086/aisKnowledge',
           // target: 'https://zdzy.zrzyt.zj.gov.cn/aisKnowledge',
           changeOrigin: true,
           rewrite: function (path) { return path.replace(/^\/aisKnowledge/, ''); }
       },
       '/aisChat': {
         // target: 'http://10.10.8.231:20331/',
-          target: 'https://ai.zrzyt.zj.gov.cn/aisChat',
+          target: 'https://ai.zrzyt.zj.gov.cn:10086/aisChat',
           // target: 'https://zdzy.zrzyt.zj.gov.cn/aisKnowledge',
           changeOrigin: true,
           rewrite: function (path) { return path.replace(/^\/aisChat/, ''); }
@@ -64,20 +64,20 @@ export default defineConfig({
       '/aiServer': {
         // target: 'http://localhost:9999/',
           // target: 'https://zjugpt.com/llm',
-          target: 'https://ai.zrzyt.zj.gov.cn/aiServer',
+          target: 'https://ai.zrzyt.zj.gov.cn:10086/aiServer',
           // target: 'https://zdzy.zrzyt.zj.gov.cn/aisKnowledge',
           changeOrigin: true,
           rewrite: function (path) { return path.replace(/^\/aiServer/, ''); }
       },
       '/auth': {
         // target: 'http://localhost:9999/',
-          target: 'https://ai.zrzyt.zj.gov.cn/auth',
+          target: 'https://ai.zrzyt.zj.gov.cn:10086/auth',
           // target: 'https://zdzy.zrzyt.zj.gov.cn/aisKnowledge',
           changeOrigin: true,
           rewrite: function (path) { return path.replace(/^\/auth/, ''); }
       },
       '/chat': {
-        target: 'https://ai.zrzyt.zj.gov.cn/chat',
+        target: 'https://ai.zrzyt.zj.gov.cn:10086/chat',
         changeOrigin: true,
         rewrite: (path) => path.replace(/^\/chat/, '')
       },
@@ -88,7 +88,7 @@ export default defineConfig({
       },
       '/knowledge': {
         // target: 'http://60.191.110.204:8516/knowledge',
-        target: 'https://ai.zrzyt.zj.gov.cn/aisChatKnowledge/',
+        target: 'https://ai.zrzyt.zj.gov.cn:10086/aisChatKnowledge/',
         // target: 'http://localhost:7503/knowledge',
         changeOrigin: true,
         rewrite: (path) => path.replace(/^\/knowledge/, '')