123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- namespace Admin.Core.Common.Configs
- {
-
-
-
- public enum TenantType
- {
-
-
-
- None,
-
-
-
- Share,
-
-
-
- Own
- }
-
-
-
- public class AppConfig
- {
-
-
-
- public string[] Urls { get; set; }
-
-
-
- public string[] CorUrls { get; set; }
-
-
-
- public TenantType TenantType { get; set; } = TenantType.None;
-
-
-
- public bool Swagger { get; set; } = false;
-
-
-
- public IdentityServer IdentityServer { get; set; } = new IdentityServer();
-
-
-
- public AopConfig Aop { get; set; } = new AopConfig();
-
-
-
- public LogConfig Log { get; set; } = new LogConfig();
-
-
-
- public bool RateLimit { get; set; } = false;
-
-
-
- public VarifyCodeConfig VarifyCode { get; set; } = new VarifyCodeConfig();
- }
-
-
-
- public class IdentityServer
- {
-
-
-
- public bool Enable { get; set; } = false;
-
-
-
- public string Url { get; set; } = "https://localhost:5000";
- }
-
-
-
- public class AopConfig
- {
-
-
-
- public bool Transaction { get; set; } = true;
- }
-
-
-
- public class LogConfig
- {
-
-
-
- public bool Operation { get; set; } = true;
- }
-
-
-
- public class VarifyCodeConfig
- {
-
-
-
- public bool Enable { get; set; } = true;
-
-
-
- public string[] Fonts { get; set; }
- }
- }
|