| | |
| | | return req1({ |
| | | url: "/account/register", |
| | | method: "post", |
| | | data: Obj |
| | | data: Obj, |
| | | }); |
| | | }; |
| | | |
| | |
| | | method: "post", |
| | | data: req, |
| | | headers: { |
| | | "Content-Type": "multipart/form-data" |
| | | } |
| | | "Content-Type": "multipart/form-data", |
| | | }, |
| | | }); |
| | | }; |
| | | |
| | |
| | | return req1({ |
| | | url: "/account/verification", |
| | | method: "post", |
| | | data: req |
| | | data: req, |
| | | }); |
| | | }; |
| | | // 获取用户信息 |
| | | export const getUserInfo = () => { |
| | | return req1({ |
| | | url: "/account/getUserInfo", |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | |
| | |
| | | return req1({ |
| | | url: "/account/resetPassword", |
| | | method: "post", |
| | | data: Obj |
| | | data: Obj, |
| | | }); |
| | | }; |
| | | |
| | |
| | | export const getlogout = () => { |
| | | return req1({ |
| | | url: "/account/logout", |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | |
| | |
| | | return req1({ |
| | | url: "/account/changePassword", |
| | | method: "post", |
| | | data: obj |
| | | data: obj, |
| | | }); |
| | | }; |
| | | |
| | |
| | | export const getdataOutput = () => { |
| | | return req1({ |
| | | url: "/person/dataOutput", |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | |
| | |
| | | export const getHotSearch = () => { |
| | | return req1({ |
| | | url: "/person/hotSearch", |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | // 人物相关的 来源 |
| | |
| | | return req1({ |
| | | url: "/person/source", |
| | | method: "post", |
| | | params: data |
| | | params: data, |
| | | }); |
| | | }; |
| | | // 人物相关的 个人时空地图 |
| | |
| | | return req1({ |
| | | url: "/person/spaceTime", |
| | | method: "post", |
| | | params: data |
| | | params: data, |
| | | }); |
| | | }; |
| | | |
| | |
| | | return req1({ |
| | | url: "/person/images", |
| | | method: "post", |
| | | params: data |
| | | params: data, |
| | | }); |
| | | }; |
| | | // 医学人物知识库 个人事迹 |
| | |
| | | return req1({ |
| | | url: "/person/biog", |
| | | method: "post", |
| | | params: data |
| | | params: data, |
| | | }); |
| | | }; |
| | | // 医学人物知识库 人物关系 |
| | |
| | | return req1({ |
| | | url: "/person/personRelationAtSchool", |
| | | method: "post", |
| | | params: data |
| | | params: data, |
| | | }); |
| | | }; |
| | | // 医学人物知识库 人物关系 |
| | |
| | | return req1({ |
| | | url: "/inheritMedical/nodeCount", |
| | | method: "post", |
| | | data: data |
| | | data: data, |
| | | }); |
| | | }; |
| | | |
| | |
| | | return req1({ |
| | | url: "/person/writings", |
| | | method: "post", |
| | | params: data |
| | | params: data, |
| | | }); |
| | | }; |
| | | // 医学人物知识库 人物详情 |
| | |
| | | return req1({ |
| | | url: "/person/getPersonInfo", |
| | | method: "post", |
| | | params: Obj |
| | | params: Obj, |
| | | }); |
| | | }; |
| | | export const getWebBasic = (Obj) => { |
| | | return req1({ |
| | | url: "/person/webBasic", |
| | | method: "post", |
| | | params: Obj |
| | | params: Obj, |
| | | }); |
| | | }; |
| | | |
| | |
| | | params: { |
| | | keyword: requestData?.keyword, |
| | | personId: requestData?.personId, |
| | | } |
| | | }, |
| | | }); |
| | | }; |
| | | |
| | |
| | | return req1({ |
| | | url: "/person/advanceSearch", |
| | | method: "post", |
| | | data: Obj |
| | | data: Obj, |
| | | }); |
| | | }; |
| | | |
| | |
| | | requestData?.keyword + |
| | | "&dynasty=" + |
| | | requestData?.dynasty, |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | // 中国地域地谱检索人物 |
| | | export const getPreCount = (requestData) => { |
| | | return req1({ |
| | | url: |
| | | "/person/retrieval/preCount?keyword=" + |
| | | "/person/retrieval/preCount?keyword=" + |
| | | requestData?.keyword + |
| | | "&dynasty=" + |
| | | requestData?.dynasty, |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | // 医学人物知识库 |
| | |
| | | return req1({ |
| | | url: "/inheritMedical/list", |
| | | method: "post", |
| | | data: requestData |
| | | data: requestData, |
| | | }); |
| | | }; |
| | | export const inheritMedicalSataStatistics = (requestData) => { |
| | | return req1({ |
| | | url: "/inheritMedical/dataStatistics", |
| | | method: "post", |
| | | data: requestData |
| | | data: requestData, |
| | | }); |
| | | }; |
| | | export const inheritMedicalCultureList = (requestData) => { |
| | | return req1({ |
| | | url: "/inheritMedical/cultureList", |
| | | method: "post", |
| | | data: requestData |
| | | data: requestData, |
| | | }); |
| | | }; |
| | | export const inheritMedicalRelationList = (requestData) => { |
| | | return req1({ |
| | | url: "/inheritMedical/relationList", |
| | | method: "post", |
| | | data: requestData |
| | | data: requestData, |
| | | }); |
| | | }; |
| | | |
| | |
| | | return req1({ |
| | | url: "/person/list", |
| | | method: "post", |
| | | data: data |
| | | data: data, |
| | | }); |
| | | }; |
| | | // 检索数据到出 |
| | | export const getPDownload = () => { |
| | | return req1({ |
| | | url: "/person/download", |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | // -------------------------P |
| | |
| | | export const getDynastyAll = () => { |
| | | return req1({ |
| | | url: "/dynasty/list", |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | |
| | | export const getDynasty = () => { |
| | | return req1({ |
| | | url: "/dynasty/listAll", |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | export const getDynastyData = () => { |
| | | return req1({ |
| | | url: "/person/retrieval/dynasty", |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | |
| | |
| | | export const getDynastyStatistics = () => { |
| | | return req1({ |
| | | url: "/school/dynasty/statistics", |
| | | method: "get" |
| | | method: "get", |
| | | }); |
| | | }; |
| | | |
| | | export const getIntroduction = (id) => { |
| | | return req1({ |
| | | url: "/school/introduction?id=" + id, |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | |
| | | export const schoolAtlas = (id) => { |
| | | return req1({ |
| | | url: "/person/schoolAtlas?schoolId=" + id, |
| | | method: "post", |
| | | }); |
| | | }; |
| | | |
| | | // 查询人物6类数据 |
| | | export const getPersonData = (id) => { |
| | | return req1({ |
| | | url: "/person/chain/search/person?personId=" + id + "&maxStep=3", |
| | | method: "post", |
| | | }); |
| | | }; |
| | | |
| | | 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, |
| | | }); |
| | | }; |
| | | |
| | |
| | | return req1({ |
| | | url: "/person/searchSchoolPerson", |
| | | method: "post", |
| | | params: data |
| | | params: data, |
| | | }); |
| | | }; |
| | | |
| | |
| | | export const getDataStatistics = () => { |
| | | return req1({ |
| | | url: "/medical/dataStatistics", |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | // 查询 |
| | |
| | | return req1({ |
| | | url: "/medical/list", |
| | | method: "post", |
| | | data: data |
| | | data: data, |
| | | }); |
| | | }; |
| | | // 详情 |
| | |
| | | return req1({ |
| | | url: "/medical/details", |
| | | method: "post", |
| | | data: data |
| | | data: data, |
| | | }); |
| | | }; |
| | | // 取值:RDF、NT、XML、JSON |
| | |
| | | return req1({ |
| | | url: "/medical/dataOutput", |
| | | method: "post", |
| | | data: Obj |
| | | data: Obj, |
| | | }); |
| | | }; |
| | | |
| | |
| | | return req1({ |
| | | url: "/person/dataOutput", |
| | | method: "post", |
| | | params: Obj |
| | | params: Obj, |
| | | }); |
| | | }; |
| | | |
| | | // ----------- |
| | | |
| | | // 中国医学人物知识库 |
| | | // 中国历代医学人物知识库 |
| | | // 数据统计 |
| | | export const getPDataStatistics = () => { |
| | | return req1({ |
| | | url: "/person/dataStatistics", |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | // ---------------- |
| | |
| | | export const getRelationTypeTreeList = () => { |
| | | return req1({ |
| | | url: "/personRelationType/getRelationTypeTreeList", |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | |
| | | export const getInstitutionList = () => { |
| | | return req1({ |
| | | url: "/medical/institutionList", |
| | | method: "post" |
| | | method: "post", |
| | | }); |
| | | }; |
| | | |
| | | export const academicSearch = (data) => { |
| | | return req1({ |
| | | url: "/person/academic/search", |
| | | method: "post", |
| | | params: data, |
| | | }); |
| | | }; |
| | | |
| | | export const getPersonTag = () => { |
| | | return req1({ |
| | | url: "/personTag/list", |
| | | method: "post", |
| | | }); |
| | | }; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | export const getSocialDistinction = () => { |
| | | return req1({ |
| | | url: "/socialDistinction/list", |
| | | method: "post", |
| | | }); |
| | | }; |