chenhaozhe
2026-04-08 5109603485a00cc3e2d7031abf6d9ae3b32a5521
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;