such as the title.
background controller:
@RequestMapping("generatorOrder")
public TMessage generatorOrder(Order order) {
...
}
order class:
public class Order implements Serializable {
private Long orderId;
private BigDecimal sum;
/**
*
*/
private Timestamp gmtCreate;
private transient List<OrderDetail> detailList;
}
this is my test result:
stringlist
how should string, be received correctly if the background request parameters are not changed to the json format of the order class?
the picture is a little blurry, please click to view the original picture