lith 4 年之前
父節點
當前提交
1d7431dafc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dotnet/Library/Sers/Sers.Serslot/Sers.Serslot/ControllerHelp.cs

+ 1 - 1
dotnet/Library/Sers/Sers.Serslot/Sers.Serslot/ControllerHelp.cs

@@ -124,7 +124,7 @@ namespace Sers.Serslot
         {
             var routes = new List<(string route, string httpMethod, string oriRoute)>();
 
-            if (null!=method.GetCustomAttributes<NonActionAttribute>())
+            if (null!=method.GetCustomAttribute<NonActionAttribute>())
                 return routes;
 
             var attrs = method.GetCustomAttributes<Microsoft.AspNetCore.Mvc.Routing.HttpMethodAttribute>();