fix get参数问题处理
This commit is contained in:
@@ -134,7 +134,7 @@ public class WorkGridsController : ControllerBase
|
||||
/// <param name="date"></param>
|
||||
/// <returns></returns>
|
||||
[HttpGet("user/schedule/list")]
|
||||
public async Task<List<WorkGridScheduleResponse>> GetListAsync(Guid workGridCode, DateOnly date)
|
||||
public async Task<List<WorkGridScheduleResponse>> GetListAsync([FromQuery] Guid workGridCode, [FromQuery] DateOnly date)
|
||||
{
|
||||
return await _workGridScheduleService.GetListAsync(workGridCode, date);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user