我有一条请求DTO的路线:
syn match myExCapitalWords +\<\w*[_0-9A-Z-]\w*\>+ contains=@NoSpell
[Route("/user/address/{Id}", "GET")]
为Id
当我使用此网址https://ideone.com/TK78Ml时,我收到此异常:
int
我在代码中定义了[FormatException]: .....
[SerializationException]......
[RequestBindingException].....
,但无法让它工作。
如何处理此异常?