feat: partner enrty

This commit is contained in:
eleanor.mao
2025-04-21 22:13:54 +08:00
parent 744928fab7
commit 7988725223
10 changed files with 221 additions and 4 deletions

View File

@ -9,8 +9,7 @@ export const postCertification = async (data: ICertificationRequest) => {
return result;
};
export const getPhone = async(code: string): Promise<{phoneNumber: string}> => {
const result = await http.post<{ code :string }>(API.GET_PHONE, { data: {code} });
export const getPhone = async (code: string): Promise<{ code: string }> => {
const result = await http.post<{ code: string }>(API.GET_PHONE, { data: { code } });
return result;
}
};