|
|
|
@ -5,9 +5,11 @@ enum Api { |
|
|
|
|
PAGE_SCHOOL = '/user/login/homepage/school', |
|
|
|
|
PAGE_DEPARTMENT = '/user/login/homepage/depart', |
|
|
|
|
PAGE_ZJSYBSJS = '/AnnualCompPoint/annualCompPoint/zjsybsjs', |
|
|
|
|
PAGE_XSFXBG = '/annualcompetitionprojectregistration/annualCompetitionProjectRegistration/xsfxbg', |
|
|
|
|
} |
|
|
|
|
// Get personal center-basic settings
|
|
|
|
|
export const pageSchoolApi = () => defHttp.get<GetAccountInfoModel>({ url: Api.PAGE_SCHOOL }); |
|
|
|
|
export const pageDepartmentApi = (orgCode: string) => defHttp.get<GetAccountInfoModel>({ url: Api.PAGE_DEPARTMENT, params: { orgCode } }); |
|
|
|
|
export const getZjsybsjs = () => defHttp.get({ url: Api.PAGE_ZJSYBSJS }); |
|
|
|
|
export const getXsfxbg = () => defHttp.get({ url: Api.PAGE_XSFXBG }); |
|
|
|
|
|
|
|
|
|