标签:ppi cep test exception pre throw stp style col
@RequestMapping(value = "/test/{pathParam}")
public String testPara(@PathVariable("pathParam") String pathParam, @RequestParam(value="requestParam") String requestParam) throws Exception {
System.out.println("pathParam is "+pathParam);
System.out.println("requestParam is "+requestParam);
return "ok";
}
@PathVariable和@RequestParam的区别
标签:ppi cep test exception pre throw stp style col
原文地址:https://www.cnblogs.com/xuzhujack/p/12287822.html