toggle menu
kraken-core
JVM
switch theme
search in API
kraken-core
/
fun.bigtable.kraken.controller
/
CommonController
Common
Controller
@
RequestMapping
(
value
=
"/common"
)
@
RestController
open
class
CommonController
Members
Constructors
Common
Controller
Link copied to clipboard
constructor
(
)
Functions
current
Link copied to clipboard
@
GetMapping
(
value
=
"/current"
)
open
fun
current
(
)
:
Result
<
String
>
当前时间
get
Cache
Link copied to clipboard
@
GetMapping
(
value
=
"/cache"
)
open
fun
getCache
(
@
RequestParam
(
value
=
"groupCode"
)
groupCode
:
String
,
@
RequestParam
(
value
=
"dictCode"
)
dictCode
:
String
)
:
Result
<
String
>
获取字典
reload
Cache
Link copied to clipboard
@
GetMapping
(
value
=
"/cache/load"
)
open
fun
reloadCache
(
)
:
Result
<
Boolean
>
刷新缓存 高并发情况下会存在缓存一致性问题