|
@@ -81,6 +81,7 @@ namespace TEAMModelBI.Controllers.BIHome
|
|
|
int todayTchCnt = 0; //今日新增教师
|
|
|
int todayStuCnt = 0; //今日新增学生数
|
|
|
|
|
|
+ long datetime = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
|
|
|
string currentSql = "select value(count(c.id)) from c";
|
|
|
|
|
|
areaCnt = await CommonFind.GetSqlValueCount(cosmosClient, "Normal", currentSql, "Base-Area");
|
|
@@ -118,7 +119,7 @@ namespace TEAMModelBI.Controllers.BIHome
|
|
|
}
|
|
|
apiCnt = recCnts.Select(x => x.apiCnt.Select(s => s.count).Sum()).Sum();
|
|
|
|
|
|
- return Ok(new { state = 200, areaCnt, scCnt, tchCnt, stuCnt, todayScCnt, todayTchCnt, todayStuCnt, onStuCnt, onTchCnt, apiCnt });
|
|
|
+ return Ok(new { state = 200, datetime, areaCnt, scCnt, tchCnt, stuCnt, todayScCnt, todayTchCnt, todayStuCnt, onStuCnt, onTchCnt, apiCnt });
|
|
|
}
|
|
|
|
|
|
/// <summary>
|