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

modify shared request return #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

panyu97py
Copy link

参照axios拦截器数据返回,修改megalo-api在微信小程序上的数据返回格式。新增请求时options的数据返回。方便在拦截中知道数据返回具体是哪个接口的。这样也便于在拦截器中统一对请求失败的接口进行统一的重试处理

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