大家好,又见面了,我是你们的朋友全栈君。
主要罗列出http的url与GetMapping的对应关系
第一种:
http://192.168.9.146:8080/Porduce?Message=12222222
对应方法如下:
@GetMapping("/Porduce")
public void Produce(String Message) throws IOException {
producer.SendData(Message);
}
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/128828.html原文链接:https://javaforall.net