瀏覽代碼

update samples

master
Savorboard 6 年之前
父節點
當前提交
6a4268cd0a
共有 2 個文件被更改,包括 1 次插入3 次删除
  1. +1
    -1
      samples/Sample.Kafka.MySql/Controllers/ValuesController.cs
  2. +0
    -2
      samples/Sample.Kafka.MySql/Startup.cs

+ 1
- 1
samples/Sample.Kafka.MySql/Controllers/ValuesController.cs 查看文件

@@ -26,7 +26,7 @@ namespace Sample.Kafka.MySql.Controllers

//your business code here

await _capBus.PublishAsync("xxx.xxx.test2", 123456, transaction);
await _capBus.PublishAsync("xxx.xxx.test2", 123456);

transaction.Commit();
}


+ 0
- 2
samples/Sample.Kafka.MySql/Startup.cs 查看文件

@@ -21,8 +21,6 @@ namespace Sample.Kafka.MySql
public void Configure(IApplicationBuilder app)
{
app.UseMvc();

app.UseCap();
}
}
}

Loading…
取消
儲存