Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何向url地址传值 #76

Open
Mr-Fengalang opened this issue Jul 9, 2018 · 5 comments
Open

如何向url地址传值 #76

Mr-Fengalang opened this issue Jul 9, 2018 · 5 comments

Comments

@Mr-Fengalang
Copy link

我们的接口是需要传 股票代码和分时才能获取到数据 不过不知道怎么传 api看了几遍没找到

@Guanyuhao
Copy link

requestParam 这个参数 对应 $.ajax({data:...})

@Mr-Fengalang
Copy link
Author

我加你QQ好友了 希望你同意下

@jiangjinze20
Copy link

你好,我也遇见了同样的问题,怎么把请求到的json数据,放到url参数 后了,它好像只接受json文件地址,

@sdsno
Copy link

sdsno commented Aug 29, 2018

解决了吗,有同样问题,求联系方式,万分感谢

@f056917
Copy link

f056917 commented Dec 24, 2018

想到了一个方法,不是很好:
先找到requestOverHttp()这个方法,然后通过sessionStorage获取需要的参数,用一个变量存储,然后在下面的ajax请求中加入这个变量。
如果需要通过切换日线/分钟线来改变参数,在$(".chart_container .chart_toolbar_tabgroup a").click(function () {点击事件中把需要改变的参数存储到sessionStorage中就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants