diff --git a/api/login/index.ts b/api/login/index.ts index d0d1f0a..76df818 100644 --- a/api/login/index.ts +++ b/api/login/index.ts @@ -28,7 +28,7 @@ export const loginByMobile = (params: { mobile: string; code: string; socialCode * 发送邮箱验证码 */ export const sendEmailCode = (data: { email: string }) => { - return useDollarFetchRequest.post>('/prod-api/app-api/member/auth/send-email-code', data,{ + return useDollarFetchRequest.post>('/prod-api/app-api/member/auth/send-email-code?email=' + data.email, {},{ headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Accept': 'application/json, text/plain, */*',