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