From 08464db50d2f958affef0aa8f578c3db03bb0a18 Mon Sep 17 00:00:00 2001
From: zhanganzhong <3143422472@qq.com>
Date: Tue, 5 Jul 2022 12:42:49 +0800
Subject: [PATCH] Update ValuesController.cs
---
Blog.Core.Api/Controllers/ValuesController.cs | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Blog.Core.Api/Controllers/ValuesController.cs b/Blog.Core.Api/Controllers/ValuesController.cs
index 155d6d1..344335c 100644
--- a/Blog.Core.Api/Controllers/ValuesController.cs
+++ b/Blog.Core.Api/Controllers/ValuesController.cs
@@ -101,6 +101,12 @@ namespace Blog.Core.Controllers
};
}
+ ///
+ /// 测试SqlSugar二级缓存
+ /// 可设置过期时间
+ /// 或通过接口方式更新该数据,也会离开清除缓存
+ ///
+ ///
[HttpGet]
[AllowAnonymous]
public async Task TestSqlsugarWithCache()