TestController.java 484 B

123456789101112131415161718
  1. package com.fdkankan;
  2. //import com.fdkankan.common.rocketmq.producer.MqSendMessage;
  3. import org.springframework.web.bind.annotation.GetMapping;
  4. import org.springframework.web.bind.annotation.RestController;
  5. import javax.annotation.Resource;
  6. @RestController
  7. public class TestController {
  8. // @Resource
  9. // MqSendMessage mqSendMessage;
  10. // @GetMapping("/send")
  11. // private String sendTest(){
  12. // mqSendMessage.sendMessage("hello");
  13. // return "success";
  14. // }
  15. }