2024-12-24 08:14:21 +00:00
|
|
|
import { post, get } from '@/utils/request'
|
|
|
|
|
|
|
|
// 修改密码服务接口
|
|
|
|
export const ServeUpdatePassword = (data) => {
|
|
|
|
return post('/api/v1/users/change/password', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 修改手机号服务接口
|
|
|
|
export const ServeUpdateMobile = (data) => {
|
|
|
|
return post('/api/v1/users/change/mobile', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 修改手机号服务接口
|
|
|
|
export const ServeUpdateEmail = (data) => {
|
|
|
|
return post('/api/v1/users/change/email', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 修改个人信息服务接口
|
|
|
|
export const ServeUpdateUserDetail = (data) => {
|
|
|
|
return post('/api/v1/users/change/detail', data)
|
|
|
|
}
|
|
|
|
|
|
|
|
// 查询用户信息服务接口
|
|
|
|
export const ServeGetUserDetail = () => {
|
|
|
|
return get('/api/v1/users/detail')
|
|
|
|
}
|
|
|
|
|
|
|
|
// 获取用户相关设置信息
|
|
|
|
export const ServeGetUserSetting = () => {
|
|
|
|
return get('/api/v1/users/setting')
|
|
|
|
}
|
2025-05-16 09:00:28 +00:00
|
|
|
|
|
|
|
//根据erpUserId查询聊天系统用户详情
|
|
|
|
export const getUserInfoByERPUserId = (data) => {
|
|
|
|
return post('/api/v1/users/info', data)
|
|
|
|
}
|