ing
This commit is contained in:
parent
df15cd56a9
commit
5bd50ed53b
|
@ -18,29 +18,27 @@ export class MemberService {
|
|||
}
|
||||
|
||||
public signin(email: string, password: string): Observable<any> {
|
||||
const body = {
|
||||
signinId: email,
|
||||
signinPw: password,
|
||||
};
|
||||
|
||||
return this.restService.request<any>('post', '/account/signin', {
|
||||
body: body,
|
||||
body: {
|
||||
signinId: email,
|
||||
signinPw: password,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
public signin_cookie(authToken: string): Observable<DomainMember> {
|
||||
const body = {
|
||||
authToken: authToken,
|
||||
};
|
||||
|
||||
return this.restService.request<DomainMember>('post', '/account/signin_cookie', {
|
||||
body: body,
|
||||
body: {
|
||||
authToken: authToken,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
public signup(member: Member): Observable<Member> {
|
||||
return this.restService.request<Member>('post', '/account/signup', {
|
||||
body: member,
|
||||
body: {
|
||||
member: member,
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user