新增是否开启用户注册功能

This commit is contained in:
RuoYi
2021-07-30 21:23:35 +08:00
parent 8ed7916b61
commit 5397e345ca
16 changed files with 451 additions and 16 deletions

View File

@ -15,6 +15,18 @@ export function login(username, password, code, uuid) {
})
}
// 注册方法
export function register(data) {
return request({
url: '/register',
headers: {
isToken: false
},
method: 'post',
data: data
})
}
// 获取用户详细信息
export function getInfo() {
return request({