From c8c630e511f0c99577db20111bf3b2ab1dbde21c Mon Sep 17 00:00:00 2001 From: "DESKTOP-G961P6V\\Zhh" <839860190@qq.com> Date: Fri, 14 Jun 2024 02:00:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../QuestionRegisters/QuestionRegisterAppService.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;