var student = "学号,姓名,年龄\n";
for(var i = 0;i<resp.items.length;i++)
{
student +=resp.items[i].id + "," +resp.items[i].name + "," +resp.items[i].age + "\n";
}
console.info(student);
var student = "学号,姓名,年龄\n";
for(var i = 0;i<resp.items.length;i++)
{
student +=resp.items[i].id + "," +resp.items[i].name + "," +resp.items[i].age + "\n";
}
console.info(student);