var services = new ServiceCollection();
services.AddHttpApi<ILaborApi>(options =>
{
options.UseLogging = true;
options.HttpHost = new Uri("http://zg.zhgdi.com:10000/");
});
autofac.Populate(services);
var services = new ServiceCollection();
services.AddHttpApi<ILaborApi>(options =>
{
options.UseLogging = true;
options.HttpHost = new Uri("http://zg.zhgdi.com:10000/");
});
autofac.Populate(services);