Commit efdb4c5d by 徐高华

退群门店

parent b2ed7657
...@@ -267,18 +267,18 @@ public class TestController extends WebBaseController { ...@@ -267,18 +267,18 @@ public class TestController extends WebBaseController {
@RequestMapping("/get-cache") @RequestMapping("/get-cache")
@ResponseBody @ResponseBody
public Object getCache(String key) { public String getCache(String key) {
Object o = RedisUtil.getCache(key) ; Object o = RedisUtil.getCache(key) ;
return o ; return o.toString() ;
} }
@RequestMapping("/del-cache") @RequestMapping("/del-cache")
@ResponseBody @ResponseBody
public Object delCache(String key) { public String delCache(String key) {
Object o = RedisUtil.getCache(key) ; Object o = RedisUtil.getCache(key) ;
if(null != o) { if(null != o) {
RedisUtil.delCache(key); RedisUtil.delCache(key);
} }
return o ; return o.toString() ;
} }
} }
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