This commit is contained in:
kezhijie
2023-11-06 12:41:57 +08:00
parent 232037ec58
commit 9bed25be8c
219 changed files with 1747 additions and 1608 deletions

View File

@ -1,7 +1,9 @@
package org.jeecg.modules.test.rabbitmq.controller;
import javax.servlet.http.HttpServletRequest;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.servlet.http.HttpServletRequest;
import org.jeecg.boot.starter.rabbitmq.client.RabbitMqClient;
import org.jeecg.common.api.vo.Result;
@ -13,8 +15,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import cn.hutool.core.util.RandomUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
/**
@ -24,7 +24,7 @@ import io.swagger.annotations.ApiOperation;
*/
@RestController
@RequestMapping("/sys/test")
@Api(tags = "【微服务】MQ单元测试")
@Tag(name = "【微服务】MQ单元测试")
public class JeecgMqTestController {
@Autowired
@ -39,7 +39,7 @@ public class JeecgMqTestController {
* @return
*/
@GetMapping(value = "/rabbitmq")
@ApiOperation(value = "测试rabbitmq", notes = "测试rabbitmq")
@Operation(summary = "测试rabbitmq")
public Result<?> rabbitMqClientTest(HttpServletRequest req) {
//rabbitmq消息队列测试
BaseMap map = new BaseMap();
@ -50,7 +50,7 @@ public class JeecgMqTestController {
}
@GetMapping(value = "/rabbitmq2")
@ApiOperation(value = "rabbitmq消息总线测试", notes = "rabbitmq消息总线测试")
@Operation(summary = "rabbitmq消息总线测试")
public Result<?> rabbitmq2(HttpServletRequest req) {
//rabbitmq消息总线测试