报错如下:
错误复现代码如下:
@GetMapping("/consumer/pay/getById/{orderId}")
@Parameter(name = "orderId", description = "订单id", in = ParameterIn.PATH)
public R getOrder(@PathVariable Integer orderId) {
System.out.println(orderId);
return R.success("订单查询成功");
}
原因:
解决办法:
我记得以前是不用加的吧,也可能我记错了....难受ಥ_ಥ
标签:lang,information,name,argument,orderId,报错,file,Integer From: https://www.cnblogs.com/ybbit/p/18063510