You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
852 B
JavaScript
22 lines
852 B
JavaScript
let url_ = "https://bjgk-api.sixinyun.com";
|
|
const dev =0
|
|
if (dev === 1) {
|
|
url_ = "http://localhostlanketijian"
|
|
}
|
|
let url_array = {};
|
|
url_array['ReportDown'] = `${url_}/api/Mp/Down/pdf`;
|
|
url_array['HospitalExtraReportStatus'] = `${url_}/api/Mp/HospitalExtra/report_status`;
|
|
url_array['AnalysisTypeList'] = `${url_}/api/Mp/AnalysisType/list`;
|
|
url_array['ReportAnalysis'] = `${url_}/api/Mp/Report/analysis`;
|
|
url_array['PrepareCheckReport'] = `${url_}/api/Mp/Report/PrepareCheckReport`;
|
|
url_array['ReportContrast'] = `${url_}/api/Mp/Report/contrast`;
|
|
url_array['ReportInfo'] = `${url_}/api/Mp/Report/info`;
|
|
url_array['ReportList'] = `${url_}/api/Mp/Report/list`;
|
|
url_array['ConfigGet'] = `${url_}/api/Mp/Config/get`;
|
|
url_array['YO'] = `${url_}/api/yo`;
|
|
const api = (mark) => {
|
|
if (mark === '') return url_;
|
|
return url_array[mark];
|
|
}
|
|
export default api;
|