在pom中添加依赖
<dependency>
<groupId>priv.ln</groupId>
<artifactId>api-version-spring-boot-starter</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
@ApiVersion("1")
@Controller
@RequestMapping("/xxx")
public class XxxController{
}
/v1/xxx