更新
This commit is contained in:
1 parent
8fc52c574f
commit
fb04d66e61
7 files changed
+284
-9
No files matched your search
@@ -208,6 +208,16 @@ export function getCurrentUser() {
|
||||
})
|
||||
}
|
||||
|
||||
/** 修改当前用户资料:{ name, email };手机号由微信验证,只读不传 */
|
||||
export function updateCurrentUserProfile(data) {
|
||||
return request({
|
||||
url: '/api/currentUser/profile',
|
||||
method: 'POST',
|
||||
data,
|
||||
silent: true
|
||||
})
|
||||
}
|
||||
|
||||
/** 是否开启登录人机/验证码校验 */
|
||||
export function getOpenVerify() {
|
||||
return request({
|
||||
|
||||
Reference in new issue
Block a user