feat: 登录逻辑的调整
This commit is contained in:
@@ -48,13 +48,9 @@ const bindPhone = async (params) => {
|
||||
}
|
||||
};
|
||||
|
||||
const checkPhone = async (phone) => {
|
||||
try {
|
||||
const response = await checkUserPhone(phone);
|
||||
return response;
|
||||
} catch (error) {
|
||||
throw err;
|
||||
}
|
||||
const checkPhone = async () => {
|
||||
const response = await checkUserPhone();
|
||||
return response;
|
||||
};
|
||||
|
||||
export { loginAuth, bindPhone, checkPhone };
|
||||
|
||||
Reference in New Issue
Block a user