privacy.js
1.25 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import request from '@/utils/request'
// 发送二次隐私认证验证码
export function getPrivacyCode(data) {
return request({
url: 'user/getPrivacyCode',
method: 'post',
data
})
}
// 填写验证码点击确认
export function verifyPrivacyCode(data) {
return request({
url: 'user/verifyPrivacyCode',
method: 'post',
data
})
}
// 获取管理员手机号
export function getAdminPhone(data) {
return request({
url: 'user/getAdminPhone',
method: 'post',
data
})
}
// 获取旧手机号
export function getCurrentUserPhone(data) {
return request({
url: 'user/getCurrentUserPhone',
method: 'post',
data
})
}
// 发送修改管理员手机号验证码
export function getUpdatePhoneCode(data) {
return request({
url: 'user/getUpdatePhoneCode',
method: 'post',
data
})
}
// 修改管理员手机号
export function updatePhone(data) {
return request({
url: 'user/updatePhone',
method: 'post',
data
})
}
// 是否24小时内验证了
export function getPrivacySwitch(data) {
return request({
url: 'user/getPrivacySwitch',
method: 'post',
data
})
}