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

同时使用真实接口及Mock #84

Open
zxc-github-0201 opened this issue Jan 7, 2022 · 1 comment
Open

同时使用真实接口及Mock #84

zxc-github-0201 opened this issue Jan 7, 2022 · 1 comment

Comments

@zxc-github-0201
Copy link

先判断真实接口是否有返回,没有的使用Mock数据,要如何实现?

@wll8
Copy link
Contributor

wll8 commented Feb 12, 2022

这个就太混乱了吧。应该是有 mock 就使用 mock,没有才使用真实。

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