fix AsAppointment
This commit is contained in:
@@ -40,8 +40,10 @@ public class AppointmentsController : ControllerBase
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <returns></returns>
|
||||
[AllowAnonymous]
|
||||
[HttpPost("confirm")]
|
||||
[Transactional]
|
||||
[IgnoreTenant]
|
||||
public async Task ConfirmAsync(AppointmentConfirmRequest request)
|
||||
{
|
||||
await _appointmentService.ConfirmAsync(request);
|
||||
@@ -54,9 +56,7 @@ public class AppointmentsController : ControllerBase
|
||||
/// <returns></returns>
|
||||
[AllowAnonymous]
|
||||
[HttpGet("today")]
|
||||
public async Task<AppointmentDetailResponse> GetTodayByIdNoAsync(
|
||||
[FromQuery] [StringLength(18, MinimumLength = 18, ErrorMessage = "身份证有误")] [Required(ErrorMessage = "身份证有误")]
|
||||
string idNo)
|
||||
public async Task<AppointmentDetailResponse> GetTodayByIdNoAsync(string idNo)
|
||||
{
|
||||
return await _appointmentService.GetTodayByIdNoAsync(idNo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user