fix 类型直接判断
This commit is contained in:
@@ -115,7 +115,7 @@ public class AppointmentService : IAppointmentService
|
||||
|
||||
await _dbContext.UpdateAsync(gainfo);
|
||||
}
|
||||
else
|
||||
else if (gainfo.Type == GainfoUserTypeEnumType.Outsource)
|
||||
{
|
||||
throw new UserFriendlyException("访客类型有误!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user