Kaynağa Gözat

生成结束,回调

lichunlei 3 ay önce
ebeveyn
işleme
ab143dce17
2 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 1 0
      Program.cs
  2. 1 0
      Task/MakeHelper.cs

+ 1 - 0
Program.cs

@@ -130,5 +130,6 @@ app.Urls.Add("http://*:8007");
 
 RabbitMQClient.Instance.Conn("MakeQueue");
 MakeHelper.Instance.Start("MakeQueue");
+RabbitMQClient.Instance.Conn("MakeCallBackQueue");
 
 app.Run();

+ 1 - 0
Task/MakeHelper.cs

@@ -107,6 +107,7 @@ namespace Tasks
                     item.updateBy = attach["createBy"].ToString();
                     makeDataService.Update(item);
                 }
+                RabbitMQClient.Instance.Push("MakeCallBackQueue", content + "#cut#" + resultString);
             }
             catch (Exception ex)
             {