From 040daecbc9bf04074c3f7053ea1710f380c03ea1 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期五, 26 七月 2024 11:40:48 +0800 Subject: [PATCH] 1 --- src/api/index.js | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index adfd9c3..cff73ae 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -272,7 +272,7 @@ }); }; -// 瀛︽湳娴佹淳 +// 瀛︽湳鍥捐氨 export const getDynastyStatistics = () => { return req1({ url: "/school/dynasty/statistics", @@ -302,11 +302,27 @@ }); }; -// 鏌ヨ浜虹墿瀛︽湳娴佹淳 +export const getAdvancedData = (data) => { + return req1({ + url: "/person/advanced/search", + method: "post", + data: data, + }); +}; + +// 鏌ヨ浜虹墿瀛︽湳鍥捐氨 export const getSchoolInfo = (id) => { return req1({ url: "/person/chain/search/school?schoolId=" + id + "&maxStep=3", method: "post", + }); +}; + +export const getPlaceInfo = (data) => { + return req1({ + url: "/person/search/place", + method: "post", + params: data, }); }; @@ -410,4 +426,3 @@ method: "post", }); }; - -- Gitblit v1.9.1