【fix sonar】 JeroTestFeignController.java文件
This commit is contained in:
+2
-1
@@ -11,6 +11,7 @@ import com.jero.common.base.BaseMap;
|
|||||||
import com.jero.modules.cloud.constant.CloudConstant;
|
import com.jero.modules.cloud.constant.CloudConstant;
|
||||||
import com.jero.modules.cloud.feign.feign.JeroTestClient;
|
import com.jero.modules.cloud.feign.feign.JeroTestClient;
|
||||||
import com.jero.modules.cloud.feign.feign.JeroTestClientDyn;
|
import com.jero.modules.cloud.feign.feign.JeroTestClientDyn;
|
||||||
|
import org.apache.poi.ss.formula.functions.T;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
@@ -45,7 +46,7 @@ public class JeroTestFeignController {
|
|||||||
|
|
||||||
@GetMapping(value = "/rabbitmq")
|
@GetMapping(value = "/rabbitmq")
|
||||||
@ApiOperation(value = "测试rabbitmq", notes = "测试rabbitmq")
|
@ApiOperation(value = "测试rabbitmq", notes = "测试rabbitmq")
|
||||||
public Result<?> rabbitMqClientTest(HttpServletRequest req) {
|
public Result<T> rabbitMqClientTest(HttpServletRequest req) {
|
||||||
//rabbitmq消息队列测试
|
//rabbitmq消息队列测试
|
||||||
BaseMap map = new BaseMap();
|
BaseMap map = new BaseMap();
|
||||||
map.put("orderId", RandomUtil.randomNumbers(10));
|
map.put("orderId", RandomUtil.randomNumbers(10));
|
||||||
|
|||||||
Reference in New Issue
Block a user