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

response 拦截器,HTTP 状态码不是200时,fly.request(err.request) 不执行 #72

Closed
kele59 opened this issue May 24, 2018 · 2 comments

Comments

@kele59
Copy link

kele59 commented May 24, 2018

image

@wendux
Copy link
Owner

wendux commented May 24, 2018

status code是多少?fly中认为成功的状态码是 (status >= 200 && status < 300) || status === 304)

@kele59
Copy link
Author

kele59 commented May 24, 2018

@wendux 401
我们的接口,token 过期返回 HTTP 状态码 401

@kele59 kele59 closed this as completed May 25, 2018
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