|
@@ -216,7 +216,7 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
|
period = PresetSchoolPeriod(bischool.period, foundSchools.lang, campusId),
|
|
|
scale = bischool.size >= 300 ? 500 : 0,
|
|
|
isinit = true,
|
|
|
- //modules=bischool.modules,
|
|
|
+ modules=bischool?.modules,
|
|
|
openLessonRecord = (_option.Location.Contains("Global")) ? false : true,
|
|
|
createTime = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(),
|
|
|
|
|
@@ -1974,7 +1974,7 @@ namespace TEAMModelBI.Controllers.BISchool
|
|
|
/// <summary>
|
|
|
/// 手动增加的模块 ["art"]
|
|
|
/// </summary>
|
|
|
- //public List<string> modules { get; set; } = new List<string>();
|
|
|
+ public List<string> modules { get; set; } = new List<string>();
|
|
|
}
|
|
|
|
|
|
/// <summary>
|