瀏覽代碼

1、服务IP变更(125)

zjz 8 月之前
父節點
當前提交
f64a8289fe

+ 1 - 1
.env.development

@@ -1,3 +1,3 @@
 NODE_ENV = 'development'
 VUE_APP_MODE = 'development'
-VUE_APP_API_BASE_URL = "http://117.176.120.161:1111"
+VUE_APP_API_BASE_URL = "http://125.64.42.165:1111"

+ 1 - 1
.env.production

@@ -1,3 +1,3 @@
 NODE_ENV = 'production'
 VUE_APP_MODE = 'production'
-VUE_APP_API_BASE_URL = 'http://117.176.120.161:1111'
+VUE_APP_API_BASE_URL = 'http://125.64.42.165:1111'

+ 1 - 1
src/utils/req.js

@@ -14,7 +14,7 @@ import { geteSessionStorage } from '@/utils/auth'
 export const IP = 'http://117.176.120.194:8085'
 const service = axios.create({
   //baseURL: IP,
-  baseURL:'http://117.176.120.161:1111',
+  baseURL:'http://125.64.42.165:1111',
   withCredentials: true, // 跨域请求时发送cookiesokies
   timeout: 30000 // 请求超时
 })

+ 1 - 1
src/views/config/requestConfig.js

@@ -1,4 +1,4 @@
-const MAP_SERVICE_URL = "117.176.120.161:6080"
+const MAP_SERVICE_URL = "125.64.42.165:6080"
 const config = {
     token: '7CAAC5074E365A295E6D0E01D7662D62',
     pipeConfig: {

+ 1 - 1
src/views/dashboard/components/mapdata/config.js

@@ -60,7 +60,7 @@ export const appconfig = {
             'groupname': '离线业务地图服务',
             'type': 'dynamic',
             'config': [
-                { 'name': '业务地图', 'url': 'http://117.176.120.161:6080/arcgis/rest/services/mbsw/pipe_mbsw/MapServer' }
+                { 'name': '业务地图', 'url': 'http://125.64.42.165:6080/arcgis/rest/services/mbsw/pipe_mbsw/MapServer' }
             ]
         },
     }

+ 1 - 1
src/views/dashboard/index.vue

@@ -421,7 +421,7 @@ export default {
       }
 
       $.ajax({
-        url: "http://117.176.120.161:6080/arcgis/rest/services/mbsw/pipe_mbsw/MapServer/9/query",
+        url: "http://125.64.42.165:6080/arcgis/rest/services/mbsw/pipe_mbsw/MapServer/9/query",
         type: 'POST',
         data: data,
         dataType: "json",

+ 3 - 3
vue.config.js

@@ -1,8 +1,8 @@
 /*
  * @Author: tengmingxue 1473375109@qq.com
  * @Date: 2022-10-08 14:40:20
- * @LastEditors: tengmingxue 1473375109@qq.com
- * @LastEditTime: 2022-10-20 17:51:19
+ * @LastEditors: zjz
+ * @LastEditTime: 2024-08-21 14:55:25
  * @FilePath: \mbBigScreen\vue.config.js
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  */
@@ -41,7 +41,7 @@ module.exports = {
           target: baseUrl,
           changeOrigin: true,
           pathRewrite: {
-            '^/api': 'http://117.176.120.161:1111'
+            '^/api': 'http://125.64.42.165:1111'
           }
         },
         '/service':{

+ 1 - 1
web.config

@@ -8,7 +8,7 @@
                     <conditions>
                         <add input="{REQUEST_URI}" pattern="api/(.*)" />
                     </conditions>
-                    <action type="Rewrite" url="http://117.176.120.161:1111/{C:1}" />
+                    <action type="Rewrite" url="http://125.64.42.165:1111/{C:1}" />
                 </rule>
                 <rule name="myProxyServer2">
                     <match url="^(.*)" />