fix: 记账平台,生产环境,登录增加注册功能。

This commit is contained in:
tianyongbao
2024-12-12 17:37:45 +08:00
parent 2917e625d0
commit 7df241a219
4 changed files with 129 additions and 1 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
})
}