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

想问一下如果向后端发送请求的话代码应该在哪? #1

Open
Gear420 opened this issue Dec 6, 2019 · 2 comments
Open

Comments

@Gear420
Copy link

Gear420 commented Dec 6, 2019

您好...,不好意思对于taro框架不是很熟。想了解一下如何设置后端的请求url?

@kennylbj
Copy link
Owner

kennylbj commented Dec 6, 2019

/src/api 目录用来编写对后端的请求,可以用taro.request(),我这里用的是mock的数据。
近期会开源一下问卷的后端。

@Gear420
Copy link
Author

Gear420 commented Dec 6, 2019

非常感谢!!!!!

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

2 participants