用postman調用login接口的時候,斷點進入了handleException方法,未進入login方法
斷點handleException是org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'otpcode' is not present
代碼已更新到github:?https://github.com/shawbs/miaosha-demo
斷點handleException是org.springframework.web.bind.MissingServletRequestParameterException: Required String parameter 'otpcode' is not present
代碼已更新到github:?https://github.com/shawbs/miaosha-demo
2019-01-24
舉報
2019-07-07
我也遇到了類似的問題,就是login的service都沒有調用直接進報錯。我的問題發(fā)現是因為
在interface和implement兩個文件中寫的方法名不一致導致報錯。你可以檢查一下關鍵方法的方法名是否一致