ddd
This commit is contained in:
parent
03901ceb06
commit
02413e7818
@ -49,6 +49,7 @@ namespace YD_AllHeartRates.Api.Services.Impl
|
|||||||
|
|
||||||
res.SchoolCode = schoolCode;
|
res.SchoolCode = schoolCode;
|
||||||
res.Name = _loginContext.UserName;
|
res.Name = _loginContext.UserName;
|
||||||
|
res.FlushTime = Convert.ToInt32(AppSettings.FlushTime);
|
||||||
|
|
||||||
var gIds = await _sportsContext.SchoolAssocGrade.Where(x => x.SchoolCode == schoolCode).Select(x => x.GradeId).ToListAsync();
|
var gIds = await _sportsContext.SchoolAssocGrade.Where(x => x.SchoolCode == schoolCode).Select(x => x.GradeId).ToListAsync();
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
public static VirtualPathConfig VirtualPath { get; set; }
|
public static VirtualPathConfig VirtualPath { get; set; }
|
||||||
public static SecretConfig Secret { get; set; }
|
public static SecretConfig Secret { get; set; }
|
||||||
public static string ExpMinutes { get; set; }
|
public static string ExpMinutes { get; set; }
|
||||||
|
public static string FlushTime { get; set; }
|
||||||
|
|
||||||
public static string DbConnectionString { get; set; }
|
public static string DbConnectionString { get; set; }
|
||||||
public static string SmartSportsString { get; set; }
|
public static string SmartSportsString { get; set; }
|
||||||
@ -18,10 +19,11 @@
|
|||||||
VirtualPath = configuration.GetSection("VirtualPath").Get<VirtualPathConfig>();
|
VirtualPath = configuration.GetSection("VirtualPath").Get<VirtualPathConfig>();
|
||||||
Secret = configuration.GetSection("Secret").Get<SecretConfig>();
|
Secret = configuration.GetSection("Secret").Get<SecretConfig>();
|
||||||
ExpMinutes = configuration["ExpMinutes"];
|
ExpMinutes = configuration["ExpMinutes"];
|
||||||
|
FlushTime = configuration["FlushTime"];
|
||||||
DbConnectionString = configuration["DbConnectionString"];
|
DbConnectionString = configuration["DbConnectionString"];
|
||||||
SmartSportsString = configuration["SmartSportsString"];
|
SmartSportsString = configuration["SmartSportsString"];
|
||||||
CorsUrls = configuration["CorsUrls"].Split(',');
|
CorsUrls = configuration["CorsUrls"].Split(',');
|
||||||
Mqtt = configuration.GetSection("Mqtt").Get<MqttConfig>();
|
Mqtt = configuration.GetSection("Mqtt").Get<MqttConfig>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public class LoggingConfig
|
public class LoggingConfig
|
||||||
|
@ -23,6 +23,8 @@
|
|||||||
|
|
||||||
"ExpMinutes": "120", //JWT有效期(分钟=默认120),
|
"ExpMinutes": "120", //JWT有效期(分钟=默认120),
|
||||||
|
|
||||||
|
"FlushTime": "2000", //大屏刷新周期
|
||||||
|
|
||||||
"AppUrls": {
|
"AppUrls": {
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -30,6 +30,10 @@ namespace YD_AllHeartRates.Commons.Dto.LargeScreen
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public int JumpingRopeAllCount { get; set; }
|
public int JumpingRopeAllCount { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 刷新时间
|
||||||
|
/// </summary>
|
||||||
|
public int FlushTime { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 年级集合
|
/// 年级集合
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user