From 45faaf27722588e92050e2e3eace9b3704377048 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期六, 02 四月 2022 18:44:30 +0800 Subject: [PATCH] 首页接口 --- src/api/device.js | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/api/device.js b/src/api/device.js index b3eeb9a..fe9fa13 100644 --- a/src/api/device.js +++ b/src/api/device.js @@ -7,7 +7,7 @@ */ export const addDevice = (params) => { return request({ - url: "/data/api-d/device/addDevice", + url: "/sass/api-d/device/addDevice", method: "post", data: params, }); @@ -25,7 +25,7 @@ */ export const findDevList = (params) => { return request({ - url: "/data/api-d/device/findDeviceList", + url: "/saas/api-d/device/findDeviceListByUser", method: "post", data: params, }); @@ -37,7 +37,7 @@ */ export const findDevListByUser = () => { return request({ - url: "/data/api-d/device/getAllDeviceMenu", + url: "/saas/api-d/device/getAllDeviceMenu", method: "get", }); }; @@ -49,7 +49,7 @@ */ export const unbind = (params) => { return request({ - url: "/data/api-d/device/unbind", + url: "/sass/api-d/device/unbind", method: "post", data: params, }); @@ -58,7 +58,7 @@ // 鏄剧ず璁惧璇︽儏 export const findDevDetail = (data) => { return request({ - url: "/data/api-d/device/show", + url: "/sass/api-d/device/show", method: "post", data, }); @@ -67,7 +67,7 @@ //鍥炲~閲嶅惎鏃ユ湡 export const getRestartTask = (data) => { return request({ - url: "/data/api-d/device/getRestartTask", + url: "/sass/api-d/device/getRestartTask", method: "post", data, }); @@ -76,7 +76,7 @@ // 璁剧疆閲嶅惎鏃ユ湡 export const setRestartTask = (data) => { return request({ - url: "/data/api-d/device/setRestartTask", + url: "/sass/api-d/device/setRestartTask", method: "post", data, }); @@ -85,7 +85,7 @@ // 璁剧疆閲嶅惎鏃ユ湡 export const restart = (data) => { return request({ - url: "/data/api-d/device/restart", + url: "/sass/api-d/device/restart", method: "post", data, }); @@ -94,7 +94,7 @@ // 妫�鏌ユ渶鏂扮増鏈� export const checkVersion = (data) => { return request({ - url: "/data/api-d/device/checkVersion", + url: "/sass/api-d/device/checkVersion", method: "post", data, }); @@ -103,7 +103,7 @@ // 鏇存柊鏈�鏂扮増鏈� export const updateVersion = (data) => { return request({ - url: "/data/api-d/device/updateVersion", + url: "/sass/api-d/device/updateVersion", method: "post", data, }); @@ -112,7 +112,7 @@ // 鑾峰彇搴旂敤 export const findAllApp = (data) => { return request({ - url: "/data/api-d/device/findAllApp", + url: "/sass/api-d/device/findAllApp", method: "post", data, }); @@ -121,7 +121,7 @@ // 鑾峰彇绠楁硶 export const findAllSdk = (data) => { return request({ - url: "/data/api-d/device/findAllSdk", + url: "/sass/api-d/device/findAllSdk", method: "post", data, }); @@ -130,7 +130,7 @@ // 鑾峰彇璁惧鎬ц兘 export const showSystemStates = (data) => { return request({ - url: "/data/api-d/device/showSystemStates", + url: "/sass/api-d/device/showSystemStates", method: "post", data, }); @@ -139,7 +139,7 @@ // 鑾峰彇绠楁硶璧勬簮 export const showProcesses = (data) => { return request({ - url: "/data/api-d/device/showProcesses", + url: "/sass/api-d/device/showProcesses", method: "post", data, }); @@ -148,7 +148,7 @@ // 鍗歌浇绠楁硶 export const unInstallSdk = (data) => { return request({ - url: "/data/api-d/device/unInstallSdk", + url: "/sass/api-d/device/unInstallSdk", method: "post", data, }); @@ -157,7 +157,7 @@ // 鍗歌浇搴旂敤 export const unInstallApp = (data) => { return request({ - url: "/data/api-d/device/unInstallApp", + url: "/sass/api-d/device/unInstallApp", method: "post", data, }); @@ -166,7 +166,7 @@ // 鍗囩骇绠楁硶搴旂敤 export const installAppSdk = (data) => { return request({ - url: "/data/api-d/device/installAppSdk", + url: "/sass/api-d/device/installAppSdk", method: "post", data, }); @@ -175,7 +175,7 @@ // 鑾峰彇鏃堕棿 export const clockInfo = (data) => { return request({ - url: "/data/api-d/device/clockInfo", + url: "/sass/api-d/device/clockInfo", method: "post", data, }); -- Gitblit v1.8.0