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