|
@@ -59,12 +59,16 @@ namespace TEAMModelOS.FunctionV4
|
|
if (!string.IsNullOrWhiteSpace($"{jsond}"))
|
|
if (!string.IsNullOrWhiteSpace($"{jsond}"))
|
|
{
|
|
{
|
|
if ($"{jsond}".Equals("Receiver", StringComparison.OrdinalIgnoreCase)
|
|
if ($"{jsond}".Equals("Receiver", StringComparison.OrdinalIgnoreCase)
|
|
- ||$"{jsond}".Equals("Notice", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|
|
+ || $"{jsond}".Equals("Notice", StringComparison.OrdinalIgnoreCase)
|
|
|| $"{jsond}".Equals("ExamClassResult", StringComparison.OrdinalIgnoreCase))
|
|
|| $"{jsond}".Equals("ExamClassResult", StringComparison.OrdinalIgnoreCase))
|
|
{
|
|
{
|
|
///通知接收者的变更
|
|
///通知接收者的变更
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
|
|
+ else if ($"{jsond}".Equals("StatsNotice", StringComparison.OrdinalIgnoreCase))
|
|
|
|
+ {
|
|
|
|
+ var sert = 012;
|
|
|
|
+ }
|
|
else
|
|
else
|
|
{
|
|
{
|
|
TriggerData data = element.ToObject<TriggerData>();
|
|
TriggerData data = element.ToObject<TriggerData>();
|
|
@@ -76,7 +80,7 @@ namespace TEAMModelOS.FunctionV4
|
|
switch (data.pk)
|
|
switch (data.pk)
|
|
{
|
|
{
|
|
case "Exam":
|
|
case "Exam":
|
|
- await TriggerExam.Trigger(_coreAPIHttpService,_azureCosmos, _serviceBus, _azureStorage, _dingDing, client, element, data);
|
|
|
|
|
|
+ await TriggerExam.Trigger(_coreAPIHttpService, _azureCosmos, _serviceBus, _azureStorage, _dingDing, client, element, data);
|
|
break;
|
|
break;
|
|
case "Vote":
|
|
case "Vote":
|
|
await TriggerVote.Trigger(_coreAPIHttpService, _serviceBus, _azureStorage, _dingDing, client, element, data, _azureRedis, _configuration);
|
|
await TriggerVote.Trigger(_coreAPIHttpService, _serviceBus, _azureStorage, _dingDing, client, element, data, _azureRedis, _configuration);
|