bug现象:
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of com.sendinfo.repos.common.repast.dto.OrderDiscountDto
(although at least one Creator exists): no int/Int-argument constructor/factory method to deserialize from Number value (10)
bug原因:
本来应该传一个OrderDiscountDto对象,前端bug传了一个int类型导致出现这个错误
记一次bug,由于前端参数不对导致的bug,no int/Int-argument constructor/factory method to deserialize from Number valu
于 2022-03-17 13:28:39 首次发布