wendux / fly

:rocket: Supporting request forwarding and Promise based HTTP client for all JavaScript runtimes.
https://wendux.github.io/dist/#/language
MIT License
3.9k stars 639 forks source link

个别接口如何不走拦截器 #264

Open TOP-LH opened 4 years ago

TOP-LH commented 4 years ago

如题,我有一个login方法不需要拦截,但其他的都需要拦截,我该怎么放行login接口呢?

jackyzonewen commented 4 years ago

@HaoliHope 自己可以在拦截器的回调中判断当前请求的url即可~

TOP-LH commented 4 years ago

@jackyzonewen 你好,请问可以给一个实例吗,谢谢

xdoer commented 3 years ago

create一个新的不就好了吗