对接老ops
This commit is contained in:
@@ -8,6 +8,7 @@ namespace WMS.Web.Domain.IService.Public
|
||||
{
|
||||
public interface IHttpClientService
|
||||
{
|
||||
HttpClient BuildHttpClient(Dictionary<string, string> dicDefaultHeaders, int? timeoutSecond = 180);
|
||||
Task<T> GetAsync<T>(string url, int timeoutSecond = 180);
|
||||
Task<T> GetAsync<T>(string url, Dictionary<string, string> dicHeaders, int timeoutSecond = 180);
|
||||
Task<T> PostAsync<T>(string url, string requestBody, int timeoutSecond = 180);
|
||||
|
||||
13
src/WMS.Web.Domain/IService/Public/IOpsService.cs
Normal file
13
src/WMS.Web.Domain/IService/Public/IOpsService.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using WMS.Web.Core.Dto;
|
||||
|
||||
namespace WMS.Web.Domain.IService.Public
|
||||
{
|
||||
public interface IOpsService
|
||||
{
|
||||
Task GetBox(OpsBoxRequest request);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user