# 结构体绑定的那一章节,这种json参数请求就提示
# person bind error parsing time ""2020-10-10"" as ""2006-01-02T15:04:05Z07:00"": cannot parse """ as "T"%
curl -H "Content-Type:application/json" -X POST "http://localhost:8080/test" -d '{"name":"a","address":"bj","birthday":"2020-10-10"}'
# person bind error parsing time ""2020-10-10"" as ""2006-01-02T15:04:05Z07:00"": cannot parse """ as "T"%
curl -H "Content-Type:application/json" -X POST "http://localhost:8080/test" -d '{"name":"a","address":"bj","birthday":"2020-10-10"}'
2020-11-03
讲解过程不说把代码都巧一遍,如果能用断点把整个流程走一遍,然后根据这个流程来讲解代码,这样也更适合新手入门吧
2020-09-07