Commit 83192cde by pengjinyang

提交

parent 788adf09
......@@ -19,7 +19,7 @@ namespace TakeStock.Subscriber
try
{
Init();
//111.230.164.154 owms-rabbitmq
//var connStr = "host=111.230.164.154:5672;username=bailun;password=1234abcd;prefetchcount=2;publisherConfirms=true;timeout=10";
var connStr = "host=owms-rabbitmq:5672;username=bailun;password=1234abcd;prefetchcount=2;publisherConfirms=true;timeout=10";
var bus = RabbitHutch.CreateBus(connStr);
bus.SubscribeAsync<CreateTakeStockMessage>("Create", async message => await Exec(message)
......@@ -70,8 +70,8 @@ namespace TakeStock.Subscriber
//services.AddTransient<ILoggerFactory, LoggerFactory>();
services.AddHttpClient("TakeStock", c =>
{
c.Timeout = TimeSpan.FromSeconds(30);
//193.112.230.53
c.Timeout = TimeSpan.FromSeconds(30);
//c.BaseAddress = new Uri("http://193.112.230.53:5002/api/");
c.BaseAddress = new Uri("http://wms-takestock-api:5002/api/");
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment