style: format code for all

This commit is contained in:
LZHD
2021-07-06 01:01:42 +08:00
committed by 踏学吾痕
parent e1200f2dbe
commit 77a1a47110
114 changed files with 7068 additions and 1068 deletions

View File

@@ -1,12 +1,11 @@
import { http } from "../utils/http"
import { http } from "../utils/http";
// 地图数据
export const mapJson = (data?: object): any => {
return http.request("get", "/getMapInfo", data)
}
return http.request("get", "/getMapInfo", data);
};
// echarts数据
export const echartsJson = (data?: object): any => {
return http.request("get", "/getEchartsInfo", data)
}
return http.request("get", "/getEchartsInfo", data);
};

View File

@@ -1,16 +1,16 @@
import { http } from "../utils/http"
import { http } from "../utils/http";
// 获取验证码
export const getVerify = (): any => {
return http.request("get", "/captcha")
}
return http.request("get", "/captcha");
};
// 登录
export const getLogin = (data: object): any => {
return http.request("post", "/login", data)
}
return http.request("post", "/login", data);
};
// 注册
export const getRegist = (data: object): any => {
return http.request("post", "/register", data)
}
return http.request("post", "/register", data);
};