Browse Source

培训计划

tiaosheng-ms
xuesinan 4 years ago
parent
commit
ceacb121e1
  1. 14
      index.html

14
index.html

@ -111,9 +111,19 @@
getTrainPlan(){
var that = this
var params = JSON.stringify({
param: {
projectId: that.projectId
}
});
fetch(`https://www.tall.wiki/gateway/sports/training/get`, {
method: 'post',
body: 'projectId' = this.projectId
headers: new Headers({
'Authorization': 'Bearer ' + that.token,
'Content-Type': 'application/json;charset=utf-8'
}),
method: 'POST',
mode: 'cors',
body: params
})
.then(function(response) {
return response.json();

Loading…
Cancel
Save