-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d79ca4e
commit d0b029f
Showing
4 changed files
with
40 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using Blog.Core.Common.Option.Core; | ||
|
||
namespace Blog.Core.Common.Option; | ||
|
||
public class AppSettingsOption : IConfigurableOptions | ||
{ | ||
/// <summary> | ||
/// 迁移表结构 | ||
/// </summary> | ||
public bool MigrateDBEnabled { get; set; } | ||
|
||
/// <summary> | ||
/// 初始化数据 | ||
/// </summary> | ||
public bool SeedDBEnabled { get; set; } | ||
|
||
/// <summary> | ||
/// 生成测试数据 | ||
/// </summary> | ||
public bool TestSeedDbEnabled { get; set; } | ||
|
||
public string Author { get; set; } | ||
|
||
/// <summary> | ||
/// 是否启用数据库二级缓存 | ||
/// </summary> | ||
public bool CacheDbEnabled { get; set; } = false; | ||
} |
68 changes: 0 additions & 68 deletions
68
Blog.Core.Extensions/ServiceExtensions/HttpRuntimeCache.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters