25 lines
461 B
TypeScript
25 lines
461 B
TypeScript
import { Injectable } from '@angular/core';
|
|
import { Observable } from 'rxjs/Observable';
|
|
import { Subject } from 'rxjs/Subject';
|
|
|
|
import 'rxjs/add/operator/map';
|
|
|
|
@Injectable()
|
|
export class MemberService {
|
|
|
|
public constructor(
|
|
) {
|
|
|
|
}
|
|
|
|
public signin(email: string, password: string): Observable<any> {
|
|
const body = {
|
|
signinId: email,
|
|
signinPw: password,
|
|
};
|
|
|
|
const subject: Subject<any> = new Subject();
|
|
return subject;
|
|
}
|
|
}
|