增加自主注册判断与前端显示
This commit is contained in:
@ -56,4 +56,15 @@ export function getCodeImg() {
|
||||
method: 'get',
|
||||
timeout: 20000
|
||||
})
|
||||
}
|
||||
|
||||
// 获取是否自助注册
|
||||
export function getRegisterSwitch() {
|
||||
return request({
|
||||
url: '/registerSwitch',
|
||||
headers: {
|
||||
isToken: false
|
||||
},
|
||||
method: 'get',
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user