diff --git a/src/service/AuthService.ts b/src/service/AuthService.ts index 56582c8..a4acd96 100644 --- a/src/service/AuthService.ts +++ b/src/service/AuthService.ts @@ -1,7 +1,8 @@ import api from '../api' import { TokenResponse } from '../models/Common'; +import _ServiceBase from './_ServiceBase'; -class AuthService { +class AuthService extends _ServiceBase { async login(loginCode: string) { return await api.post('/parent/auth/login' , { code: loginCode }); }