diff --git a/src/2-api/HuanMeng.MiaoYu.WebApi/Controllers/OtherController.cs b/src/2-api/HuanMeng.MiaoYu.WebApi/Controllers/OtherController.cs
index 6c3d6f5..bbcfb5c 100644
--- a/src/2-api/HuanMeng.MiaoYu.WebApi/Controllers/OtherController.cs
+++ b/src/2-api/HuanMeng.MiaoYu.WebApi/Controllers/OtherController.cs
@@ -20,11 +20,24 @@ namespace HuanMeng.MiaoYu.WebApi.Controllers
///
[HttpGet("cache/clear")]
[AllowAnonymous]
- public async Task Clear()
+ public async Task ClearCache()
{
OtherBLL otherBLL = new OtherBLL(ServiceProvider);
await otherBLL.CleraCache();
}
+
+ ///
+ /// 清除缓存
+ ///
+ ///
+ [HttpGet("cache/reload")]
+ [AllowAnonymous]
+ public async Task ReloadCache()
+ {
+ OtherBLL otherBLL = new OtherBLL(ServiceProvider);
+ await otherBLL.ReloadCache();
+
+ }
}
}