10.10综合交易所原始源码-管理后台
1
admin
2026-01-06 089bf5d2378b3c4a61d795b2a92bede2c193b771
src/api/user.js
New file
@@ -0,0 +1,31 @@
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')
}