上面代码把URI template 中变量 ownerId的值和petId的值,绑定到方法的参数上。若方法参数名称和需要绑定的uri template中变量名称不一致,需要在@PathVariable("name")指定uri template中的名称。上面代码把URI template 中变量 ownerId的值和petId的值,绑定到方法的参数上。 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交