Browse Source

Merge branch 'develop' into PL/develop-BI

Li 3 years ago
parent
commit
ae7dd1a153
1 changed files with 0 additions and 1 deletions
  1. 0 1
      TEAMModelOS/Controllers/Both/LessonRecordController.cs

+ 0 - 1
TEAMModelOS/Controllers/Both/LessonRecordController.cs

@@ -569,7 +569,6 @@ namespace TEAMModelOS.Controllers
                         var messageChange = new ServiceBusMessage(new { delete_id = item.id, tmdid = item.tmdid, scope = item.scope, opt = "delete", school = item.school }.ToJsonString());
                         messageChange.ApplicationProperties.Add("name", "LessonRecordEvent");
                         await _serviceBus.GetServiceBusClient().SendMessageAsync(ActiveTask, messageChange);
-                        return Ok(new { status = 200 });
                     }
                 } catch (Exception ex) {
                     await  _dingDing.SendBotMsg($"{_option.Location},ServiceBus ,LessonRecordEvent 发送消息失败,检查是否配置正常。", GroupNames.成都开发測試群組);