dcc
2024-06-13 d583372447e4958fed5b5d5004f98baf6ce433f1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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')
}