heyujie
2021-07-08 1fbbb592d4646f86e8a272b13c16ca54abc08414
src/api/system.ts
@@ -24,7 +24,7 @@
export const getGB28181Config = () => {
  return request({
    url: "/data/api-v/sysset/gb28181ConfigShow",
    url: "/data/api-v/gb28181/configShow",
    method: "get"
  });
};
@@ -47,7 +47,7 @@
export const saveGB28181Config = (query: any) => {
  return request({
    url: "/data/api-v/sysset/gb28181ConfEdit",
    url: "/data/api-v/gb28181/configEdit",
    method: "post",
    data: query
  });
@@ -135,6 +135,86 @@
  });
};
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 setKeyboardLayout = (query: any) => {
  return request({
    url: "/data/api-v/sysset/setKeyboardLayout",
    method: "post",
    data: qs.stringify(query)
  });
};
export const setNetWorkCard = (query: any) => {
  return request({
    url: "/data/api-v/sysset/setNetWorkCard",
    method: "post",
    data: qs.stringify(query)
  });
};
export const getLangs = (query: any) => {
  return request({
    url: "/data/api-v/sysset/getLangs",
    method: "get",
    data: query
  });
};
export const getLang = (query: any) => {
  return request({
    url: "/data/api-v/sysset/getLang",
    method: "get",
    data: query
  });
};
export const getKeyboardLayouts = (query: any) => {
  return request({
    url: "/data/api-v/sysset/getKeyboardLayouts",
    method: "get",
    data: query
  });
};
export const getCurKeyboardLayout = (query: any) => {
  return request({
    url: "/data/api-v/sysset/getDefKeyboardLayout",
    method: "get",
    data: query
  });
};
export const setLang = (query: any) => {
  return request({
    url: "/data/api-v/sysset/setLang",
    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",