fix: 茅台预约系统,登录增加注册功能。

This commit is contained in:
tianyongbao
2024-12-12 17:37:45 +08:00
parent f913b9ba8c
commit 890bcf8ae8
3 changed files with 124 additions and 2 deletions

View File

@@ -44,4 +44,16 @@ export function getCodeImg() {
method: 'get',
timeout: 20000
})
}
// 注册方法
export function register(data) {
return request({
url: '/auth/register',
headers: {
isToken: false
},
method: 'post',
data: data
})
}