更新 langguanApi/Common/Proxy/HttpProxy.cs
Signed-off-by: yanghongwei <330334037@qq.com>
This commit is contained in:
parent
86da4194ac
commit
bdd524a430
|
|
@ -29,7 +29,7 @@ namespace langguanApi.Common.Proxy
|
|||
public async Task<T> Get<T>(Dictionary<string, string> parameters, string requestUri)
|
||||
{
|
||||
//从工厂获取请求对象
|
||||
var client = _httpClientFactory.CreateClient();
|
||||
var client = _httpClientFactory.CreateClient("httpreq");
|
||||
if (parameters != null)
|
||||
{
|
||||
var strParam = string.Join("&", parameters.Select(o => o.Key + "=" + o.Value));
|
||||
|
|
|
|||
Loading…
Reference in New Issue