Why serialization is required. The serialization mechanism holds the type information of the entity object and the type information and property values of its properties. If the entity object is not serialized or is not set SERIALVERSIONUID, after the transmission reaches the target node in the network, if the entity class applied by the other interface increases or decreases the attribute (filed), it is possible to cause entity parsing error and report an exception, such as: "Exception Info:syntax Error,expect {", but if Serialversionuid is set, a different property is deserialized with the default value, which avoids incompatibility issues.
When we use a treasure, sometimes after the first submission will also report this error (exception Info:syntax Error,expect {), re-submit sometimes succeeded, whether this is the reason.
In addition, we use a treasure to pay the order, such as the use of certain tickets or booking app, there will be a recurring issue, whether it is because the order after the first payment failed, Alipay's Message Queuing mechanism re-transmitted the order information, and the app received a return error or after the timeout has been resubmitted, This resulted in two payment problems.