【发布时间】:2018-11-24 00:59:19
【问题描述】:
registerStudent(id,cName)
{
return this.http.put("http://localhost:3000/api/registerOnlyThisStudent/"+id+"/"+cName).subscribe((res) =>{console.log(res.json());
});
}
markRegistered(id)
{
return this.http.put("http://localhost:3000/api/markRegistered/"+id).subscribe((res) =>{console.log(res.json());
});
}
unRegister(sName ,cName )
{
return this.http.put("http://localhost:3000/api/UnRegister/"+sName+"/"+cName).subscribe((res) =>{console.log(res.json());
});
}
【问题讨论】:
-
请不要将错误信息发布为图片。复制粘贴文本。
标签: typescript ionic-framework