浏览代码

common移除mq,platform启动报错

by su 3 年之前
父节点
当前提交
2d87b83869
共有 1 个文件被更改,包括 8 次插入8 次删除
  1. 8 8
      4dkankan-center-platform/src/main/java/com/fdkankan/TestController.java

+ 8 - 8
4dkankan-center-platform/src/main/java/com/fdkankan/TestController.java

@@ -1,6 +1,6 @@
 package com.fdkankan;
 
-import com.fdkankan.common.rocketmq.producer.MqSendMessage;
+//import com.fdkankan.common.rocketmq.producer.MqSendMessage;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RestController;
 
@@ -8,11 +8,11 @@ import javax.annotation.Resource;
 
 @RestController
 public class TestController {
-    @Resource
-    MqSendMessage mqSendMessage;
-    @GetMapping("/send")
-    private String sendTest(){
-        mqSendMessage.sendMessage("hello");
-        return "success";
-    }
+//    @Resource
+//    MqSendMessage mqSendMessage;
+//    @GetMapping("/send")
+//    private String sendTest(){
+//        mqSendMessage.sendMessage("hello");
+//        return "success";
+//    }
 }