Spring's own interface version control

In the process of project development, the same interface may have problems when the old and new versions are compatible. At this time, the interface accessed by the client can be controlled by the version number

@RequestMapping(path = "/endRoute", params={"apiVersion=0.2.0"})
@ResponseBody
public Object endRoute2(Route route,HttpSession session){
	
}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326004515&siteId=291194637