优化邮箱验证码发送接口
This commit is contained in:
@ -28,7 +28,7 @@ export const loginByMobile = (params: { mobile: string; code: string; socialCode
|
|||||||
* 发送邮箱验证码
|
* 发送邮箱验证码
|
||||||
*/
|
*/
|
||||||
export const sendEmailCode = (data: { email: string }) => {
|
export const sendEmailCode = (data: { email: string }) => {
|
||||||
return useDollarFetchRequest.post<IResponse<any>>('/prod-api/app-api/member/auth/send-email-code', data,{
|
return useDollarFetchRequest.post<IResponse<any>>('/prod-api/app-api/member/auth/send-email-code?email=' + data.email, {},{
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/x-www-form-urlencoded',
|
'Content-Type': 'application/x-www-form-urlencoded',
|
||||||
'Accept': 'application/json, text/plain, */*',
|
'Accept': 'application/json, text/plain, */*',
|
||||||
|
|||||||
Reference in New Issue
Block a user