用户界面

This commit is contained in:
橙子
2021-10-20 16:38:39 +08:00
parent 7f5cba11b7
commit 1bf37a2590
11 changed files with 244 additions and 168 deletions

View File

@@ -28,6 +28,13 @@ export default {
url: `/Account/email?emailAddress=${emailAddress}`,
method: 'post',
})
},
changePassword(user, newPassword) {
return myaxios({
url: `/Account/changePassword`,
method: 'put',
data: { user, newPassword }
})
}
}

View File

@@ -40,5 +40,11 @@ export default {
method: 'post',
data: { id1: menuId, id2: mouldId }
})
},
geTopMenuByUser() {
return myaxios({
url: '/Menu/geTopMenuByUser',
method: 'get'
})
}
}

View File

@@ -19,5 +19,11 @@ export default {
url: `/User/GetRolesByUserId?userId=${userId}`,
method: 'get'
})
},
GetUserInfoById() {
return myaxios({
url: `/User/GetUserInfoById`,
method: 'get'
})
}
}