This commit is contained in:
2026-03-25 14:55:34 +08:00
commit 2c44b3a4b2
131 changed files with 7453 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
namespace StopShopping.Services.Extensions;
/// <summary>
/// 业务配置
/// </summary>
public record AppOptions
{
/// <summary>
/// .bjbj.me
/// </summary>
/// <value></value>
public string CookieDomain { get; set; } = string.Empty;
/// <summary>
/// 域名http(s)://www.xxx.xx
/// </summary>
/// <value></value>
public string DomainPath { get; set; } = string.Empty;
/// <summary>
/// anti-forgery 请求头
/// </summary>
/// <value></value>
public string CSRFHeaderName { get; set; } = string.Empty;
/// <summary>
/// anti-forgery cookie's name
/// </summary>
/// <value></value>
public string CSRFCookieName { get; set; } = string.Empty;
/// <summary>
/// 跨域站点
/// </summary>
/// <value></value>
public string[] CorsAllowedOrigins { get; set; } = [];
}