添加swaggerui 描述文档。

This commit is contained in:
zhouxiunai
2018-11-28 16:51:42 +08:00
parent 7fb816ddf8
commit 799544ff9c
31166 changed files with 643334 additions and 0 deletions
@@ -14,6 +14,12 @@ public class KafkaController {
@Autowired
private IKafkaService kafkaservice;
/**
* 发送消息到kafka指定topic上
* @param msg
* @param topic
* @return
*/
@GetMapping(value = "/send")
public ResponseDto sendKafka(String msg,String topic) {
kafkaservice.msgSend(topic, msg);