1. 增加 yudao-spring-boot-starter-tenant 租户的组件

2. 改造 UserDO,接入多租户
This commit is contained in:
YunaiV
2021-12-04 21:09:49 +08:00
parent ccb56b3b99
commit 7c8fe2fc50
35 changed files with 426 additions and 15 deletions

View File

@ -6,4 +6,18 @@ export function getUserInfo() {
url: 'member/user/profile/get',
method: 'get'
})
}
// 修改
export function updateNickname(nickname) {
return request({
url: 'member/user/profile/update-nickname',
method: 'post',
header: {
"Content-Type": "application/x-www-form-urlencoded"
},
data: {
nickname
}
})
}