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模式 #6

Closed
helinjiang opened this issue Jun 21, 2017 · 1 comment
Closed

支持手动关闭mock模式 #6

helinjiang opened this issue Jun 21, 2017 · 1 comment
Assignees
Labels

Comments

@helinjiang
Copy link
Collaborator

目前一旦配置了mock模式,则没有选项关闭它,需要支持

@helinjiang
Copy link
Collaborator Author

helinjiang commented Jun 22, 2017

增加一个字段 disable 用来禁用当前的 mock 服务,需要在 mocker 的 config.json 中进行配置。如果该值设置为 true,则该请求将直接走现网环境

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

No branches or pull requests

1 participant