fix 类型直接判断

This commit is contained in:
2026-01-14 10:49:57 +08:00
parent 6722404519
commit 77a5d067b0

View File

@@ -115,7 +115,7 @@ public class AppointmentService : IAppointmentService
await _dbContext.UpdateAsync(gainfo);
}
else
else if (gainfo.Type == GainfoUserTypeEnumType.Outsource)
{
throw new UserFriendlyException("访客类型有误!");
}