CommonController

@RequestMapping(value = "/common")
@RestController
open class CommonController

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@GetMapping(value = "/current")
open fun current(): Result<String>
当前时间
Link copied to clipboard
@GetMapping(value = "/cache")
open fun getCache(@RequestParam(value = "groupCode") groupCode: String, @RequestParam(value = "dictCode") dictCode: String): Result<String>
获取字典
Link copied to clipboard
@GetMapping(value = "/cache/load")
open fun reloadCache(): Result<Boolean>
刷新缓存 高并发情况下会存在缓存一致性问题