diff --git a/OpenAuth.WebApi/Controllers/ServiceControllers/DaHuaAiController.cs b/OpenAuth.WebApi/Controllers/ServiceControllers/DaHuaAiController.cs index f6c4217..0113d25 100644 --- a/OpenAuth.WebApi/Controllers/ServiceControllers/DaHuaAiController.cs +++ b/OpenAuth.WebApi/Controllers/ServiceControllers/DaHuaAiController.cs @@ -159,28 +159,28 @@ namespace OpenAuth.WebApi.Controllers.ServiceControllers algorithmCode }); } - /// - /// 创建行为场景分析任务 - /// - /// 参数详见文档7.1.3.3. 创建行为场景分析任务 - /// - [HttpPost] - [AllowAnonymous] - public async Task> CreateTasks(DaHuaTaskInfo data) - { - await _listener.AddQueueBindingAsync("processing_event", "topic", $"event.behaviorAlarm.1.{data.channelId}"); - return await PostJsonAsync("/processing/behavior/realtime/tasks", data); - } - /// - /// 模拟添加队列 - /// - /// - [HttpPost] - [AllowAnonymous] - public async void AddQueueBinding(string channelId) - { - await _listener.AddQueueBindingAsync("processing_event", "topic", $"event.trafficJunction.1.{channelId}"); - } + ///// + ///// 创建行为场景分析任务 + ///// + ///// 参数详见文档7.1.3.3. 创建行为场景分析任务 + ///// + //[HttpPost] + //[AllowAnonymous] + //public async Task> CreateTasks(DaHuaTaskInfo data) + //{ + // await _listener.AddQueueBindingAsync("processing_event", "topic", $"event.behaviorAlarm.1.{data.channelId}"); + // return await PostJsonAsync("/processing/behavior/realtime/tasks", data); + //} + ///// + ///// 模拟添加队列 + ///// + ///// + //[HttpPost] + //[AllowAnonymous] + //public async void AddQueueBinding(string channelId) + //{ + // await _listener.AddQueueBindingAsync("processing_event", "topic", $"event.trafficJunction.1.{channelId}"); + //} /// /// 删除行为场景分析任务 ///