修改车队检索,增加默认最大返回行数为40

optimize
jianghaiqing 2 years ago
parent 78bf6f08e6
commit c77abe9558

@ -216,7 +216,7 @@ namespace Myshipping.Core.Service
/// <param name="top">默认最大行数</param> /// <param name="top">默认最大行数</param>
/// <returns>返回回执</returns> /// <returns>返回回执</returns>
[HttpGet("/DjyCustomer/QuerytDjyCustomerInfo")] [HttpGet("/DjyCustomer/QuerytDjyCustomerInfo")]
public async Task<List<DjyCustomerOutput>> QuerytDjyCustomerInfo([FromQuery] string queryItem, [FromQuery] string[] queryType, [FromQuery] int top = 10) public async Task<List<DjyCustomerOutput>> QuerytDjyCustomerInfo([FromQuery] string queryItem, [FromQuery] string[] queryType, [FromQuery] int top = 40)
{ {
List<DjyCustomerOutput> list = new List<DjyCustomerOutput>(); List<DjyCustomerOutput> list = new List<DjyCustomerOutput>();

@ -23,6 +23,6 @@ namespace Myshipping.Core.Service
/// <param name="queryType">检索类型数组(可传多个) fleet-车队customs_broker-报关行</param> /// <param name="queryType">检索类型数组(可传多个) fleet-车队customs_broker-报关行</param>
/// <param name="top">默认最大行数</param> /// <param name="top">默认最大行数</param>
/// <returns>返回回执</returns> /// <returns>返回回执</returns>
Task<List<DjyCustomerOutput>> QuerytDjyCustomerInfo(string queryItem, string[] queryType, int top = 10); Task<List<DjyCustomerOutput>> QuerytDjyCustomerInfo(string queryItem, string[] queryType, int top = 40);
} }
} }

Loading…
Cancel
Save