Commit 5559c0b9 by guo_minglei@163.com

redis修改连接信息

parent 562387af
......@@ -30,6 +30,7 @@ public class ApiNodeController {
@RequestMapping("/test")
public ResponseResult test(String key){
stringRedisTemplate.opsForValue().set(key, "123");
stringRedisTemplate.convertAndSend(key, "123");
return ResponseResult.ok("ok");
}
......
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