src/api/index.js
@@ -1,6 +1,6 @@ import req from "@/utils/request/req1.js"; import req1 from "@/utils/request/req1.js"; import qs from "querystring"; import req1, { baseUrl } from "@/utils/request/req1"; // 注册登录 export const getaddLogin = (Obj) => { return req1({ @@ -241,6 +241,12 @@ }); }; export const getIntroduction = (id) => { return req1({ url: "/school/introduction?id=" + id, method: "post" }); }; // 医事制度 // 数据统计 @@ -286,3 +292,7 @@ }); }; // ---------------- export const getImg = (path) => { return baseUrl + "/picture/getImageByFilePath?filePath=" + path; };