Files
HTFX-CRM-Sales/services/user.ts
2025-07-07 16:05:18 +08:00

28 lines
982 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { request } from '@/utils/request.ts';
export function getUserInfo() {
return request({ url: '/api/saleH5/login/getUserInfo', method: 'GET' });
}
export function setLoveLanguage(data: { qcc_language: string }) {
return request({ url: '/api/saleH5/login/setLoveLanguage', method: 'POST', data });
}
// address 居住地验证状态0否 1认证通过 2认证中
// email 邮箱验证0否 1是
// identity 身份验证0否 1认证通过 2认证中
export function getPersonalAuthStatus() {
return request({ url: '/api/saleH5/personal/getPersonalAuthStatus', method: 'GET' });
}
export function getUserBaseInfo() {
return request({ url: '/api/saleH5/personal/queryBaseInfo', method: 'GET' });
}
export function saveUserBaseInfo(data: Record<string, any>) {
return request({ url: '/api/saleH5/personal/saveUserBaseInfo', method: 'POST', data });
}
export function getBankList() {
return request({ url: '/api/saleH5/personal/queryBankList', method: 'GET' });
}