Use springcloud
Two ports are provided
Get the data
code show as below:
http://localhost/consumer/user?id=1
code show as below:
There is no better course, that issue will meet ~~~~~~~ card for a long time.
Noteworthy:
pojo data types are consistent with the virtual machine type.
Do not forget to comment.
Do not enter the wrong URL.
MySQL5.6 and 5.7 are not compatible