From a10960e9cee3776ffd3871e5949f6b474127c428 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期一, 17 六月 2024 18:55:58 +0800 Subject: [PATCH] 1 --- src/api/index.js | 34 ++++++++++++++++++++++++++++++++-- 1 files changed, 32 insertions(+), 2 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index c1d9702..0aa8942 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -160,7 +160,8 @@ url: "/person/fuzzySearch", method: "post", params: { - keyword: requestData?.keyword + keyword: requestData?.keyword, + personId: requestData?.personId, } }); }; @@ -250,7 +251,7 @@ }; // -------------------------P -// 鏈濅唬 +// 鏃舵湡 export const getDynastyAll = () => { return req1({ url: "/dynasty/list", @@ -261,6 +262,12 @@ export const getDynasty = () => { return req1({ url: "/dynasty/listAll", + method: "post" + }); +}; +export const getDynastyData = () => { + return req1({ + url: "/person/retrieval/dynasty", method: "post" }); }; @@ -279,6 +286,15 @@ method: "post" }); }; + +export const schoolAtlas = (id) => { + return req1({ + url: "/person/schoolAtlas?schoolId=" + id, + method: "post" + }); +}; + + export const searchSchoolPerson = (data) => { return req1({ @@ -352,3 +368,17 @@ }); }; +export const getInstitutionList = () => { + return req1({ + url: "/medical/institutionList", + method: "post" + }); +}; + + + + + + + + -- Gitblit v1.9.1