search

Home  >  Q&A  >  body text

javascript - Some problems arise when using a form to submit two time periods to request the background to return corresponding data!

The current requirements are as follows. There is a form input on the page to request data in the corresponding time period from time a to time b. The background interface document is as follows , I wrote it like thisI found that I still cannot request the data for this time period. How should I write it?

漂亮男人漂亮男人2753 days ago562

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-05-16 13:30:29

    Isn’t the parameter name called startTimequery? Why is it written as start?

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-16 13:30:29

    First check whether the parameter values ​​of the interface document match, and then check whether the format is correct. If the request cannot be made, the interface data requested is incorrect, or the interface cannot be requested directly. Look at the status code returned by the background to see where the problem lies. .

    reply
    0
  • Cancelreply