Optimize register. Add turnstile captcha to login.

This commit is contained in:
2023-12-29 17:33:37 +08:00
parent 0b8df09336
commit 837ea40bf1
9 changed files with 56 additions and 22 deletions

View File

@@ -9,7 +9,7 @@ import {
} from '@/constants/urls.constants'
import request from '@/services'
export const r_auth_register = (param: RegisterParam) => request.post(URL_REGISTER, param)
export const r_auth_register = (param: RegisterParam) => request.post<TokenVo>(URL_REGISTER, param)
export const r_auth_resend = () => request.post(URL_RESEND)