|
|
|
@ -169,7 +169,7 @@ namespace OpenAuth.WebApi.Controllers.ServiceControllers
|
|
|
|
|
[AllowAnonymous]
|
|
|
|
|
public async Task<Response<string>> CreateTasks(DaHuaTaskInfo data)
|
|
|
|
|
{
|
|
|
|
|
await _listener.AddQueueBindingAsync("processing_event1", "topic", $"event.behaviorAlarm.1.{data.channelId}");
|
|
|
|
|
await _listener.AddQueueBindingAsync("processing_event", "topic", $"event.behaviorAlarm.1.{data.channelId}");
|
|
|
|
|
return await PostJsonAsync("/processing/behavior/realtime/tasks", data);
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|