From 3af382c2b9ddf2a8210b6477bb46b0945ce26a64 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期五, 26 四月 2024 22:22:56 +0800 Subject: [PATCH] 调整 --- src/api/index.js | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index 5b46518..1d46bbf 100644 --- a/src/api/index.js +++ b/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; +}; -- Gitblit v1.9.1