mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2024-09-20 23:48:27 +08:00
Update ValuesController.cs
This commit is contained in:
parent
2b71debf43
commit
08464db50d
|
@ -101,6 +101,12 @@ namespace Blog.Core.Controllers
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 测试SqlSugar二级缓存
|
||||||
|
/// 可设置过期时间
|
||||||
|
/// 或通过接口方式更新该数据,也会离开清除缓存
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
public async Task<BlogArticle> TestSqlsugarWithCache()
|
public async Task<BlogArticle> TestSqlsugarWithCache()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user