|
@@ -567,6 +567,7 @@ namespace TEAMModelOS.Controllers.Common
|
|
|
string jointGroupId = (request.TryGetProperty("jointGroupId", out JsonElement _jointGroupId)) ? _jointGroupId.ToString() : string.Empty;
|
|
|
string creatorId = (request.TryGetProperty("creatorId", out JsonElement _creatorId)) ? _creatorId.ToString() : string.Empty;
|
|
|
string creatorName = (request.TryGetProperty("creatorName", out JsonElement _creatorName)) ? _creatorName.ToString() : string.Empty;
|
|
|
+ string creatorEmail = (request.TryGetProperty("creatorEmail", out JsonElement _creatorEmail)) ? _creatorEmail.ToString() : string.Empty;
|
|
|
string scope = (request.TryGetProperty("scope", out JsonElement _scope)) ? _scope.ToString() : string.Empty;
|
|
|
List<JointEventGroupBase.JointEventGroupCourse> courseLists = (request.TryGetProperty("courseLists", out JsonElement _courseLists)) ? _courseLists.ToObject<List<JointEventGroupBase.JointEventGroupCourse>>() : null;
|
|
|
if (string.IsNullOrWhiteSpace(jointEventId) || string.IsNullOrWhiteSpace(jointGroupId) || string.IsNullOrWhiteSpace(creatorId) || courseLists == null || string.IsNullOrWhiteSpace(scope))
|
|
@@ -606,6 +607,7 @@ namespace TEAMModelOS.Controllers.Common
|
|
|
jointCourse.jointGroupId = jointGroupId;
|
|
|
jointCourse.creatorId = creatorId;
|
|
|
jointCourse.creatorName = creatorName;
|
|
|
+ jointCourse.creatorEmail = creatorEmail;
|
|
|
}
|
|
|
//修改
|
|
|
jointCourse.courseLists = courseLists;
|