diff --git a/Attributes/SimApiDocAttribute.cs b/Attributes/SimApiDocAttribute.cs
index 94d6d75..12e3ec7 100644
--- a/Attributes/SimApiDocAttribute.cs
+++ b/Attributes/SimApiDocAttribute.cs
@@ -12,12 +12,12 @@ public class SimApiDocAttribute : SwaggerOperationAttribute
///
/// 定义接口说明
///
- /// 接口分组
+ /// 接口分组列表
/// 接口名称
/// 接口描述
- public SimApiDocAttribute(string tag, string name, string? description = null)
+ public SimApiDocAttribute(string[] tags, string name, string? description = null)
{
- Tags = [tag];
+ Tags = tags;
Summary = name;
if (description != null)
{
@@ -26,4 +26,14 @@ public class SimApiDocAttribute : SwaggerOperationAttribute
// Consumes = new[] {"application/json"};
// Produces = new[] {"application/json"};
}
+
+ ///
+ /// 定义接口说明
+ ///
+ /// 接口分组
+ /// 接口名称
+ /// 接口描述
+ public SimApiDocAttribute(string tag, string name, string? description = null) : this([tag], name, description)
+ {
+ }
}
\ No newline at end of file