forked from eatvio/eatvio_app
feat(verify): phone + email
This commit is contained in:
@@ -108,4 +108,15 @@ abstract class ProfileService {
|
||||
Future<String> getPassKey({
|
||||
@Body() required String json,
|
||||
});
|
||||
|
||||
@GET('/api/profile/my_phone')
|
||||
Future<String> getMyPhone();
|
||||
|
||||
@POST('/api/profile/send_email_code')
|
||||
Future<void> sendEmailCode();
|
||||
|
||||
@POST('/api/profile/verificate_email_code')
|
||||
Future<void> tryVerifyEmailByCode({
|
||||
@Body() required String code,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user