chenhaozhe
4 天以前 5a9d51aa1202f4e52173245d3069e6bd1949d51b
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;