fix 查询优化
This commit is contained in:
@@ -51,8 +51,8 @@ public class GainfosController : ControllerBase
|
||||
/// </summary>
|
||||
/// <param name="code"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("page-all")]
|
||||
public async Task<Pagination<GainfoAllPageResponse>> GetPageByCodeAsync([FromBody] string code)
|
||||
[HttpGet("page-all")]
|
||||
public async Task<Pagination<GainfoAllPageResponse>> GetPageByCodeAsync(string code)
|
||||
{
|
||||
return await _gainfoService.GetPageByCodeAsync(code);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user