ionic3 + angular5 添加http請求攔截器

注:此攔截器只能攔截HttpClient,不能攔截Http 一、建立攔截器 ng g provider interceptor 二、修改攔截器內容   import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest, HttpResponse } from "@angular/common/http"; import {Injecta
相關文章
相關標籤/搜索