1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| package cn.flightfeather.supervision.common.utils
|
| import org.springframework.stereotype.Component
|
| /**
| * 缓存变量管理工具
| * 允许数据库常用的变量在内存中缓存一段时间,提高访问速度
| * 后续应该使用redis等NOSQL数据库替代
| */
| @Component
| class CacheUtil {
|
| /**
| * 添加变量
| *
| */
| fun addParams(p:Any?) {
|
| }
| }
|
|