|
@@ -85,8 +85,8 @@ namespace TEAMModelOS.Controllers
|
|
types= _types.ToObject<List<string>>();
|
|
types= _types.ToObject<List<string>>();
|
|
}
|
|
}
|
|
HttpContext?.Items.TryGetValue("Scope", out _scope);
|
|
HttpContext?.Items.TryGetValue("Scope", out _scope);
|
|
- List<StudentActivity> activities = await StudentService.FindActivity(request, id, $"{_scope}", groupListIds, subjects, school, types, _azureCosmos);
|
|
|
|
- return Ok(new { code =200, activities ,serverTime=DateTimeOffset.UtcNow.ToUnixTimeMilliseconds()});
|
|
|
|
|
|
+ List<StudentActivity> datas = await StudentService.FindActivity(request, id, $"{_scope}", groupListIds, subjects, school, types, _azureCosmos);
|
|
|
|
+ return Ok(new { code =200, datas, serverTime=DateTimeOffset.UtcNow.ToUnixTimeMilliseconds()});
|
|
}
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// <summary>
|