This commit is contained in:
oneao committed 2026-04-24 17:28:11 +08:00
1 parent 07e0001b87
commit 46cbb2f50d
543 files changed
+32576 -4231

No files matched your search

@@ -0,0 +1,10 @@
import type { AuthCodeSendParams, AuthCodeSendResult, AuthCodeVerifyParams, AuthCodeVerifyResult } from '@/types/auth/code'
import { httpPostJson } from '@/request/utils'
export function authCodeSendApi(params: AuthCodeSendParams) {
return httpPostJson<AuthCodeSendResult>(`/auth/code/send`, params)
}
export function authCodeVerifyApi(params: AuthCodeVerifyParams) {
return httpPostJson<AuthCodeVerifyResult>(`/auth/code/verify`, params)
}