使用代码创建Hybris storefront订单时遇到错误No result for the given example [TitleModel (
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                使用代码创建Hybris storefront订单时遇到错误No result for the given example [TitleModel (
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.                        
                                錯誤消息如下圖所示:
“No result for the given example [TitleModel (<unsaved>)] was found. Searched with these attributes: {code=Mr}”
我解決這個問題的思路是,先在postman里用user read的API讀取一個系統存在的user,查看title code長什么樣:
執行API,發現返回的結果里,titleCode的mr是大小寫相關的,而我代碼里傳入的是Mr. 我改成mr之后,問題消失。
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
 
總結
以上是生活随笔為你收集整理的使用代码创建Hybris storefront订单时遇到错误No result for the given example [TitleModel (的全部內容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        - 上一篇: 梦幻西游龙宫带什么套装
- 下一篇: 什么是led照明技术
