From 7cea2db9d57b24d98e42b5207fa6f9a703362e26 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期四, 24 六月 2021 10:29:19 +0800
Subject: [PATCH] 朔黄和系统设置

---
 src/api/system.ts |   35 +++++++++++++++++++++++++++++++++--
 1 files changed, 33 insertions(+), 2 deletions(-)

diff --git a/src/api/system.ts b/src/api/system.ts
index e131129..868da6c 100644
--- a/src/api/system.ts
+++ b/src/api/system.ts
@@ -31,7 +31,7 @@
 
 export const saveDevInfo = (query: any) => {
   return request({
-    url: "/data/api-v/sysset/saveDevInfo",
+    url: "/data/api-v/sysset/saveDeviceInfo",
     method: "post",
     data: qs.stringify(query)
   });
@@ -47,7 +47,7 @@
 
 export const saveGB28181Config = (query: any) => {
   return request({
-    url: "/data/api-v/sysset/gb28181ConfigEdit",
+    url: "/data/api-v/sysset/gb28181ConfEdit",
     method: "post",
     data: query
   });
@@ -135,6 +135,37 @@
   });
 };
 
+export const setServerName = (query: any) => {
+  return request({
+    url: "/data/api-v/sysset/setSerName",
+    method: "post",
+    data: qs.stringify(query)
+  });
+};
+
+export const getWireList = (query: any) => {
+  return request({
+    url: "/data/api-v/sysset/getNetWorkCards",
+    method: "get",
+    data: (query)
+  });
+};
+export const setNetWorkCard = (query: any) => {
+  return request({
+    url: "/data/api-v/sysset/setNetWorkCard",
+    method: "post",
+    data: qs.stringify(query)
+  });
+};
+
+export const getNetWorkCardInfo = (query: any) => {
+  return request({
+    url: "/data/api-v/sysset/getNetWorkCardInfo",
+    method: "post",
+    data: qs.stringify(query)
+  });
+};
+
 export const deleteDate = (query: any) => {
   return request({
     url: "/data/api-v/clearData/deleteEsData",

--
Gitblit v1.8.0