程序要输出一个url,里面的格式是这样的:
http://127.0.0.1:8000/api?ver=2×tamp=20200620
输入后结果变成了
http://127.0.0.1:8000/api?ver=2xtamp=20200620
也就是说浏览器自动把 × 转成了 x
我的解决方法是,把参数调换个位置,改为这样输出:
http://127.0.0.1:8000/api?timestamp=20200620&ver=2
哈哈,效果达到!
原文:https://www.cnblogs.com/lpq21314/p/13169755.html