Commit 7a9c1a3d by 徐高华

通讯录

parent 9373ebc9
...@@ -266,12 +266,14 @@ public class TestController extends WebBaseController { ...@@ -266,12 +266,14 @@ public class TestController extends WebBaseController {
} }
@RequestMapping("/get-cache") @RequestMapping("/get-cache")
@ResponseBody
public Object getCache(String key) { public Object getCache(String key) {
Object o = RedisUtil.getCache(key) ; Object o = RedisUtil.getCache(key) ;
return o ; return o ;
} }
@RequestMapping("/del-cache") @RequestMapping("/del-cache")
@ResponseBody
public Object delCache(String key) { public Object delCache(String key) {
Object o = RedisUtil.getCache(key) ; Object o = RedisUtil.getCache(key) ;
if(null != o) { if(null != o) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment