之前在github上有篇判断augularjs401状态码的:
今天用时才发现$httpProvider.responseInterceptors方法已经被官方弃用了。
改写了方案如下:
在app.js config 方法调用时:
上主是我的牧者,我实在一无所缺
之前在github上有篇判断augularjs401状态码的:
今天用时才发现$httpProvider.responseInterceptors方法已经被官方弃用了。
改写了方案如下:
在app.js config 方法调用时: