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

This commit is contained in:
RuoYi
2023-07-11 17:09:59 +08:00
parent 47a18b8422
commit 296b15acbe
5 changed files with 239 additions and 12 deletions

View File

@@ -18,6 +18,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({