Browse Source

appkey驗證

psj 2 years ago
parent
commit
a6eb928c87
1 changed files with 11 additions and 5 deletions
  1. 11 5
      src/service/show-platform.js

+ 11 - 5
src/service/show-platform.js

@@ -91,7 +91,8 @@ export function getFlyWayList(UUID){
     return requestInstance({
         url:'/ptjkInterface/selectZhfxFlightPathMain',
         data:{
-            UUID
+            UUID,
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     })
 }
@@ -103,7 +104,8 @@ export function editFlyItem(UUID,NAME,UNIT_CODE,LIST){
             UUID,
             NAME,
             UNIT_CODE,
-            LIST
+            LIST,
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     })
 }
@@ -112,7 +114,8 @@ export function deleteFlyItem(UUID){
     return requestInstance({
         url:'/ptjkInterface/removeZhfxFlightPathMain',
         data:{
-            UUID
+            UUID,
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     })
 }
@@ -121,7 +124,8 @@ export function getBookMarkList(UUID){
     return requestInstance({
         url:'/ptjkInterface/selectzhfxBookMark',
         data:{
-            UUID
+            UUID,
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     })
 }
@@ -138,6 +142,7 @@ export function addBookMark(UUID,NAME,HEADING,TILT,LOCATION_X,LOCATION_Y,LOCATIO
             LOCATION_Y,
             LOCATION_Z,
             LAYERLIST,
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     })
 }
@@ -146,7 +151,8 @@ export function deleteBookMark(UUID){
     return requestInstance({
         url:'/ptjkInterface/removezhfxBookMark',
         data:{
-            UUID
+            UUID,
+            "appkey":localStorage.getItem("zhfx_userkeycode")
         }
     })
 }