Skip to main content

Other config


Controller url fixed variable can replace by config. For example controller like this

@RequestMapping("/api/${api-module}/user")
@Controller
public class XxxController(){
  //code ...
}

The actual url is /api/base/user,Then ${api-module} can be replaced by the following configuration

Last update: