diff --git a/src/Shentun.WebPeis.Application/QuestionRegisters/QuestionRegisterAppService.cs b/src/Shentun.WebPeis.Application/QuestionRegisters/QuestionRegisterAppService.cs index b51d035..95ba8b0 100644 --- a/src/Shentun.WebPeis.Application/QuestionRegisters/QuestionRegisterAppService.cs +++ b/src/Shentun.WebPeis.Application/QuestionRegisters/QuestionRegisterAppService.cs @@ -1,4 +1,5 @@ -using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; using Org.BouncyCastle.Math.EC.Rfc7748; using Shentun.WebPeis.Enums; using Shentun.WebPeis.Models; @@ -14,6 +15,8 @@ using Volo.Abp.Domain.Repositories; namespace Shentun.WebPeis.QuestionRegisters { + [ApiExplorerSettings(GroupName = "Work")] + [Authorize] public class QuestionRegisterAppService : ApplicationService { private readonly IRepository _repository;