Sfoglia il codice sorgente

修改公司版本

pkq 11 mesi fa
parent
commit
dc96fbc044
4 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 1 1
      src/service/index.js
  2. 1 1
      src/service/index2.js
  3. 1 1
      src/views/servicePublish/Detail.vue
  4. 1 1
      vite.config.js

+ 1 - 1
src/service/index.js

@@ -4,7 +4,7 @@ import { useUserStore } from '../stores/user'
 const userStore = useUserStore()
 
 const service = axios.create({
-    baseURL: 'http://172.20.105.160:6080/data-service-manage-service',
+    baseURL: 'https://zgscim.china-gis.com/data-service-manage-service',
     timeout: 60000, // 请求超时时间 毫秒
     // withCredentials: true,
     headers: {

+ 1 - 1
src/service/index2.js

@@ -4,7 +4,7 @@ import { useUserStore } from '../stores/user'
 const userStore = useUserStore()
 
 const service = axios.create({
-    baseURL: 'http://172.20.105.160:6080/portal-service',
+    baseURL: 'https://zgscim.china-gis.com/portal-service',
     timeout: 60000, // 请求超时时间 毫秒
     // withCredentials: true,
     headers: {

+ 1 - 1
src/views/servicePublish/Detail.vue

@@ -88,7 +88,7 @@ const router = useRouter()
 
 
 const uploadState = reactive({
-    uploadUrl: 'http://172.20.105.160:6080/data-asset-manage-service/upload/imgUpload',
+    uploadUrl: 'https://zgscim.china-gis.com/data-asset-manage-service/upload/imgUpload',
     headers: { Authorization: "Bearer " },
 })
 

+ 1 - 1
vite.config.js

@@ -10,7 +10,7 @@ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
 // https://vitejs.dev/config/
 export default defineConfig({
   publicDir: "public",
-  base: '/dataService',
+  base: '/dataService_citygis',
   server: {
     open: true,
     // port: 8080,