feat: 初始化
This commit is contained in:
30
services/user/completeInfo.ts
Normal file
30
services/user/completeInfo.ts
Normal file
@ -0,0 +1,30 @@
|
||||
import { request } from '@/utils/request.ts';
|
||||
|
||||
export function sendCodePersonal() {
|
||||
return request({ url: '/api/app/personal/sendCode', method: 'POST' });
|
||||
}
|
||||
|
||||
export function verifyEmail(data: Record<string, any>) {
|
||||
return request({ url: '/api/app/personal/saveVerifyEmail', method: 'POST', data });
|
||||
}
|
||||
|
||||
export function getAuthVoucher() {
|
||||
return request({ url: '/api/app/personal/getAuthVoucher', method: 'GET' });
|
||||
}
|
||||
|
||||
export function getAuthAddress() {
|
||||
return request({ url: '/api/app/personal/getAuthAddress', method: 'GET' });
|
||||
}
|
||||
|
||||
export function saveVoucher(data: Record<string, any>) {
|
||||
return request({ url: '/api/app/personal/saveVoucher', method: 'POST', data });
|
||||
}
|
||||
export function saveBank(data: Record<string, any>) {
|
||||
return request({ url: '/api/app/personal/personalBankSave', method: 'POST', data });
|
||||
}
|
||||
export function changeLoginPwd(data: Record<string, any>) {
|
||||
return request({ url: '/api/app/login/editPassword', method: 'POST', data });
|
||||
}
|
||||
export function sendBankMail(data: Record<string, any>) {
|
||||
return request({ url: '/api/app/personal/sendBankMail', method: 'POST', data });
|
||||
}
|
||||
Reference in New Issue
Block a user