src/kl/core/services/auth.service.ts
@@ -1,17 +1,10 @@ import { Injectable } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import { Storage } from '@ionic/storage'; import { HttpClient } from './httpclient'; import { User } from 'kl/model'; import { Subject } from 'rxjs/Subject'; @Injectable() export class AuthService { // TODO 路由守卫 private _user: User; constructor(private http: HttpClient, private storage: Storage) { } constructor() { } }