js/example-app/packages/member/service/member.service.ts

25 lines
461 B
TypeScript
Raw Normal View History

2018-03-17 15:03:13 +00:00
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;
}
}