gbtomr 2 years ago
parent
commit
7016587e63
2 changed files with 6 additions and 6 deletions
  1. 4 4
      src/apis/kkjk.js
  2. 2 2
      src/apis/other.js

+ 4 - 4
src/apis/kkjk.js

@@ -2,28 +2,28 @@ import request from "@/request/index";
   
 export function GetGcxx() {
   return request({
-      url: 'http://10.114.4.14:9005/ghjgWebServiceTest/DigitalTwain/Bayonet/GetBasicShipInfo',
+      url: 'http://172.16.58.3:8080/ghjgWebServiceTest/DigitalTwain/Bayonet/GetBasicShipInfo',
       method: "post",
   })
 }
 
 export function GetLljk() {
   return request({
-      url: 'http://10.114.4.14:9005/ghjgWebServiceTest/DigitalTwain/Bayonet/getTrafficMonitor',
+      url: 'http://172.16.58.3:8080/ghjgWebServiceTest/DigitalTwain/Bayonet/getTrafficMonitor',
       method: "post",
   })
 }
 
 export function GetCbyj() {
   return request({
-      url: 'http://10.114.4.14:9005/ghjgWebServiceTest/DigitalTwain/Bayonet/GetShipWarning',
+      url: 'http://172.16.58.3:8080/ghjgWebServiceTest/DigitalTwain/Bayonet/GetShipWarning',
       method: "post",
   })
 }
 
 export function GetYjcb(warnType, page, limit) {
   return request({
-      url: 'http://10.114.4.14:9005/ghjgWebServiceTest/DigitalTwain/Bayonet/GetShipWarningByType',
+      url: 'http://172.16.58.3:8080/ghjgWebServiceTest/DigitalTwain/Bayonet/GetShipWarningByType',
       method: "post",
       data: { warnType, page, limit }
   })

+ 2 - 2
src/apis/other.js

@@ -10,7 +10,7 @@ export function GetWeather() {
 export function GetBoatInfo(mmsi, type=null) {
   let prefix = ''
   if(type==='HSX') {
-    prefix = 'http://10.114.4.14:9005/ghjgWebServiceTest'
+    prefix = 'http://172.16.58.3:8080/ghjgWebServiceTest'
   }
   return request({
       url: prefix + '/DigitalTwain/boat/GetBoatPanelInfo',
@@ -24,7 +24,7 @@ export function GetBoatInfo(mmsi, type=null) {
 
 export function GetBoatInfoByEventCode(eventCode) {
   return request({
-      url: 'http://10.114.4.14:9005/ghjgWebServiceTest/DigitalTwain/boat/GetBoatPanelInfo2',
+      url: 'http://172.16.58.3:8080/ghjgWebServiceTest/DigitalTwain/boat/GetBoatPanelInfo2',
       method: "post",
       data: {
         eventCode,