Skip to content

request util 层的实现基于 axios 重新整理 #73

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

Merged
merged 2 commits into from
Mar 22, 2017

Conversation

hackape
Copy link
Contributor

@hackape hackape commented Mar 22, 2017

因为 axios 本身的 API 已经很好了,原先自己实现的那层 request API wrapper 其实跟 axios 很像,没必要做太多包装,所以这次把不必要的土制的东西都给去掉,尽量对接 axios 的 API。

结果上看,原来的 request 基础 API 没有变化,有变化的几个也已经一并修改。今后的使用直接参考 axios 的文档。

@hackape hackape merged commit 9fd3e01 into master Mar 22, 2017
@hackape hackape deleted the hackape/request-api-refine branch March 22, 2017 05:45
pull bot pushed a commit to JackEasons/WebIDE-Frontend that referenced this pull request Nov 3, 2020
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

Successfully merging this pull request may close these issues.

1 participant