fix httpMethod

This commit is contained in:
2025-10-15 18:34:25 +08:00
parent 77d56b39b5
commit a44741bcae

View File

@@ -298,7 +298,7 @@ public class AssignmentsController : ControllerBase
[AllowAnonymous]
[IgnoreTenant]
[HttpPost("settlement/supplier/page")]
[HttpGet("settlement/supplier/page")]
public async Task<Pagination<SettlementSupplierPageResponse>> GetSettlementSupplierPageAsync([FromQuery] SettlementSupplierPageRequest request)
{
var page = await _dbContext.Queryable<SettlementSupplierMonthly>()
@@ -323,7 +323,7 @@ public class AssignmentsController : ControllerBase
[AllowAnonymous]
[IgnoreTenant]
[HttpPost("settlement/supplier/originPage")]
[HttpGet("settlement/supplier/originPage")]
public async Task<Pagination<SettlementSupplierPageResponse>> GetSettlementSupplierOriginPageAsync([FromQuery] SettlementSupplierPageRequest request)
{
var page = await _dbContext.Queryable<SettlementSupplierMonthly>()