WebAPI/Service/JwtAuthorizeAttribute.cs
@@ -94,7 +94,7 @@ } } }else if (!string.IsNullOrWhiteSpace(actionAttr?.HModName) && !string.IsNullOrWhiteSpace(actionAttr?.Operate)) }else if (actionAttr != null && !string.IsNullOrWhiteSpace(actionAttr?.HModName) && !string.IsNullOrWhiteSpace(actionAttr?.Operate)) { // 单独在动作上启用鉴权功能 PermissionStr = actionAttr.HModName + actionAttr.Operate;