在远程调用Feign的时候报的一个错误,仔细看了一下代码发现问题出在用@PathVariable注解的时候
@PathVariable Integer id 这样写没有写明其value,正确写法
@PathVariable(value = “id”) Integer id
在远程调用Feign的时候报的一个错误,仔细看了一下代码发现问题出在用@PathVariable注解的时候
@PathVariable Integer id 这样写没有写明其value,正确写法
@PathVariable(value = “id”) Integer id