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.

21 lines
803 B
JavaScript

let url_ = "https://liujiangyy-tj.sixinyun.com";
const dev = 0
if (dev === 1) {
url_ = "http://192.168.31.106:8000"
}
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['YO'] = `${url_}/api/yo`;
const api = (mark) => {
if (mark === '') return url_;
return url_array[mark];
}
export default api;