修改mock
This commit is contained in:
@@ -72,12 +72,8 @@ public class TestController {
|
||||
@ApiOperation(value = "补偿处理消息")
|
||||
public ResultMsg<Object> mockDccKafka(@RequestBody AicorpusTelephoneDTO message) {
|
||||
|
||||
for(int i=0;i<20;i++){
|
||||
String sourceId = "2000000"+i;
|
||||
message.setSourceId(sourceId);
|
||||
log.info("发送消息:"+sourceId);
|
||||
dccKafkaProducer.send("topic_voc_covert_text_log",JSONObject.toJSONString(message));
|
||||
}
|
||||
dccKafkaProducer.send("topic_voc_covert_text_log",JSONObject.toJSONString(message));
|
||||
|
||||
return ResultMsg.ok("ok");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user