新增SwaggerDemo

This commit is contained in:
2025-09-23 16:29:17 +08:00
parent dc42b56bf6
commit dad5b8fb89
27 changed files with 505 additions and 39 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using .Utility.Swagger;
namespace .Models
{
[SwaggerClassComment("返回数据")]
public class RetValue
{
[SwaggerComment("返回状态")]
public int state { get; set; }
[SwaggerComment("返回消息")]
public string message { get; set; }
[SwaggerComment("返回数据")]
public object data { get; set; }
}
}