錯誤描述:
后端返回對象義的字段為dType,但返回到前端變成了dtype,
解決方案:
在參數上增加@JsonProperty注解,
注意:包是 com.fasterxml.jackson.annotation.JsonProperty;
開始使用 com.codehaus.jackson.annotation.JsonProperty 無效
錯誤描述:
后端返回對象義的字段為dType,但返回到前端變成了dtype,
解決方案:
在參數上增加@JsonProperty注解,
注意:包是 com.fasterxml.jackson.annotation.JsonProperty;
開始使用 com.codehaus.jackson.annotation.JsonProperty 無效
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。