|
@@ -1,6 +1,6 @@
|
|
package com.fdkankan;
|
|
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.GetMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@@ -8,11 +8,11 @@ import javax.annotation.Resource;
|
|
|
|
|
|
@RestController
|
|
@RestController
|
|
public class TestController {
|
|
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";
|
|
|
|
+// }
|
|
}
|
|
}
|