spring mvc 伪静态处理
spring mvc 伪静态处理
@RequestMapping(value = JsonUrlCommand.webshare_get_opuss+"/u{u:[\\w\\W]+}p{p:\\d+}s{s:\\d+}", method = RequestMethod.GET) public ResultBean getOpuss( @PathVariable Integer u, @PathVariable int p, @PathVariable int s) { ResultBean rb = new ResultBean(1, "success", ""); return rb; }
訪问地址:
http://172.17.12.48:9808/webshare/get_opuss/u5103p1s6