Home > Back-end >  After receiving and parameters
After receiving and parameters

Time:05-20

@ PostMapping ("/API/1 ")
Public Test the get (id) {
Return testService. GetCri (id);
}
postman parameter callback interface directly, not an error Value for id always be null
@ PostMapping ("/API/2 ")
The public Test update (Long id, String name, String age, String address, String tent) {
Return testService. Update (id, name, age, address, tent);
}
postman parameter callback interface directly, not an error
What is this principle?
  • Related