日期http get 报错400

http://localhost:8080/smg/export_poOrder?searchDate1=2018-06-10 报错400,

后改成

http://localhost:8080/smg/export_poOrder?searchDate1=2018/06/10 不再报错

 

https://stackoverflow.com/questions/9581692/recommended-date-format-for-rest-get-api

发表评论

邮箱地址不会被公开。 必填项已用*标注