Browse Source

调接口

19-plugin-turn-over
aBin 4 years ago
parent
commit
9de82154e7
  1. 8
      index.html

8
index.html

@ -118,7 +118,7 @@
});
},
/**
/**
* 批量查询患者急救记录
* @param {string} projectId 项目id
* @param {Array} codeList
@ -129,9 +129,10 @@
const params = JSON.stringify({
param: { projectId: that.projectId, codeList: ['HZZG'] }
});
var url = 'http://www.tall.wiki/gateway/qcp/v3.0/patient/queryAidRecord';
var url = 'https://www.tall.wiki/gateway/qcp/v3.0/patient/queryAidRecord';
fetch(url, {
method: 'POST',
mode: 'cors',
body: params,
headers: new Headers({
'Authorization': 'Bearer ' + that.token ,'Content-Type': 'application/json;charset=utf-8'
@ -200,8 +201,9 @@
userType: 0
}
});
fetch('http://www.tall.wiki/gateway/qcp/v3.0/patient/aidRecord', {
fetch('https://www.tall.wiki/gateway/qcp/v3.0/patient/aidRecord', {
method: 'POST',
mode: 'cors',
body: params,
headers: new Headers({
'Authorization': 'Bearer ' + that.token ,'Content-Type': 'application/json;charset=utf-8'

Loading…
Cancel
Save