|
@@ -65,9 +65,11 @@ public class TestController {
|
|
|
|
|
|
@GetMapping("/test")
|
|
|
public String test() throws Exception {
|
|
|
- for (int i = 0; i< 10; i++){
|
|
|
- rocketMQProducer.syncSend("qwe",i+"", "消息体"+i);
|
|
|
- }
|
|
|
+// for (int i = 0; i< 10; i++){
|
|
|
+// rocketMQProducer.syncSend("qwe",i+"", "消息体"+i);
|
|
|
+// }
|
|
|
+ redisUtil.incr("gggg", 1);
|
|
|
+ System.out.println(redisUtil.get("gggg"));
|
|
|
return "123";
|
|
|
|
|
|
}
|