mirror of
https://github.com/r-ca/kidshift-skills.git
synced 2024-10-25 17:14:03 +00:00
authService with
This commit is contained in:
parent
ca640953a8
commit
f711fbc363
9
src/service/AuthService.ts
Normal file
9
src/service/AuthService.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import api from '../api'
|
||||
|
||||
class AuthService {
|
||||
async login(loginCode: string) {
|
||||
return await api.post<any>('/parent/auth/login' , { code: loginCode });
|
||||
}
|
||||
}
|
||||
|
||||
export default new AuthService();
|
Loading…
Reference in New Issue
Block a user