摘要:
https://github.com/xin9le/FastEnum 简单使用: enum Company { [EnumMember(Value = "Apple, Inc.")] Apple = 0, } var value = Company.Apple.GetEnumMemberValue( 阅读全文
摘要:
{ "code": 200, //状态码 (int) "message": "string", //消息 (string) "data": {} //Action的原始响应内容 } https://github.com/stratosblue/cuture.aspnetcore.responseau 阅读全文
摘要:
services.Configure<BookOptions>(Configuration.GetSection(BookOptions.Book)); builder.Services.AddOptions<Test>(builder.Configuration[""]); builder.Ser 阅读全文
摘要:
namespace JWTWebApi.JWT; public class JwtOptions { /// <summary> /// 签发者 /// </summary> public string Issuer { get; set; } /// <summary> /// 接收者 /// < 阅读全文