chenhaozhe
3 天以前 da84e4e72c9d9cc7e2bd40dc4bb7b3222ca3519a
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;