Commit 38fe83db by 徐高华

退群门店

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