解决org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error的警告

1. 复现错误


今天,写好后端的模拟下单接口,如下代码所示:

@PostMapping("/placeOrder")
public void placeOrder(@RequestBody OrderDto orderDto) {
   
    
    
  // 校验商品名称和商品价格不能为空
 

猜你喜欢

转载自blog.csdn.net/lvoelife/article/details/134147277