update 优化 oss配置 使用发布订阅工具 刷新配置

This commit is contained in:
疯狂的狮子li
2021-09-03 17:42:58 +08:00
parent b2ab087313
commit 2d6c306ae1
4 changed files with 23 additions and 18 deletions

View File

@ -36,7 +36,7 @@ public class RedisPubSubController {
@GetMapping("/sub")
public AjaxResult<Void> sub(String key){
redisCache.subscribe(key, String.class, msg -> {
System.out.println("订阅通道 => " + key + ", 接收值 => " + msg.toString());
System.out.println("订阅通道 => " + key + ", 接收值 => " + msg);
});
return AjaxResult.success("操作成功");
}