From 346b597e301e575648997364ac513c9fcbb6553d Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Mon, 15 Apr 2024 15:09:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Tiobon.Core.Api/Controllers/Ghra_GradeController.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tiobon.Core.Api/Controllers/Ghra_GradeController.cs b/Tiobon.Core.Api/Controllers/Ghra_GradeController.cs index 01913f34..6ea01696 100644 --- a/Tiobon.Core.Api/Controllers/Ghra_GradeController.cs +++ b/Tiobon.Core.Api/Controllers/Ghra_GradeController.cs @@ -4,7 +4,7 @@ /// Ghra_Grade /// [Route("api/[controller]")] - [ApiController, GlobalActionFilter] + [ApiController, GlobalActionFilter] [Authorize(Permissions.Name), ApiExplorerSettings(GroupName = Grouping.GroupName_Ghra)] public class Ghra_GradeController : ControllerBase { @@ -13,13 +13,13 @@ /// 服务器接口,因为是模板生成,所以首字母是大写的,自己可以重构下 /// private readonly IGhra_GradeServices _ghra_GradeServices; - + public Ghra_GradeController(IGhra_GradeServices Ghra_GradeServices) { _ghra_GradeServices = Ghra_GradeServices; } #endregion - + #region 基础接口 #region 查询 @@ -81,7 +81,7 @@ var data = MessageModel.Success("更新成功", null); data.success = await _ghra_GradeServices.Update(Id, editModel); if (!data.success) - data.msg = "更新失败";; + data.msg = "更新失败"; return data; }