import { NaHttpInterceptorPreparable, NaHttpRequestHandler } from '../na-http-interceptor-preparable'; import { HttpRequest } from '@angular/common/http'; /** * 处理url和withCredentials * * @export * @class NaBaseurlInterceptorPreparable * @implements {NaHttpInterceptorPreparable} */ export class Noop implements NaHttpInterceptorPreparable { constructor() { } prepare(req: HttpRequest, next: NaHttpRequestHandler): HttpRequest { return next.handle(req); } }