|
|
@ -34,10 +34,10 @@ public class ClientCommonController : ApiController
|
|
|
|
/// <param name="queryKey">港口五字码</param>
|
|
|
|
/// <param name="queryKey">港口五字码</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpGet]
|
|
|
|
[HttpGet]
|
|
|
|
[Route("GetClientPortSelectList")]
|
|
|
|
[Route("GetClientPortInfoByCode")]
|
|
|
|
public async Task<DataResult<CodePortInfoRes>> GetClientPortSelectList([FromQuery] string queryKey)
|
|
|
|
public async Task<DataResult<CodePortInfoRes>> GetClientPortInfoByCode([FromQuery] string queryKey)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var res = await _invokeService.GetClientPortSelectList(queryKey);
|
|
|
|
var res = await _invokeService.GetClientPortInfoByCode(queryKey);
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
@ -58,10 +58,10 @@ public class ClientCommonController : ApiController
|
|
|
|
/// <param name="queryKey">委托单位代码或中文名称</param>
|
|
|
|
/// <param name="queryKey">委托单位代码或中文名称</param>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpGet]
|
|
|
|
[HttpGet]
|
|
|
|
[Route("GetControllerClientList")]
|
|
|
|
[Route("GetControllerClientListByKey")]
|
|
|
|
public async Task<DataResult<List<ControllerClientRes>>> GetControllerClientList([FromQuery] string queryKey)
|
|
|
|
public async Task<DataResult<List<ControllerClientRes>>> GetControllerClientListByKey([FromQuery] string queryKey)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var res = await _invokeService.GetControllerClientList(queryKey);
|
|
|
|
var res = await _invokeService.GetControllerClientListByKey(queryKey);
|
|
|
|
return res;
|
|
|
|
return res;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|