老師,時間轉換格式有些問題,我網上查了些資料,沒有找到答案
$ curl -H "Content-Type:application/json" -X POST 'http://127.0.0.1:8080/hi_band' -d '{"name":"testing","addr":"wuhan","birthday":"2003-06-20"}'
person bind error parsing time ""2003-06-20"" as ""2006-01-02T15:04:05Z07:00"": cannot parse """ as "T"
參考了一下??https://blog.csdn.net/qq_34621851/article/details/105313354還沒有解決
2022-04-05
我用postman 模擬的請求沒問題
2022-01-04
只能用 2006-01-02,而且還只有get?能用,post?還是會報錯,不知道為什么
2021-06-03
我也是遇到了同樣的問題