一键登录

This commit is contained in:
唐明明
2021-10-20 10:41:49 +08:00
parent 0fb9a41178
commit 9052c3001b
46 changed files with 1474 additions and 660 deletions

View File

@@ -26,7 +26,7 @@ const getSms = (data) =>{
})
}
// 用户隐私协议 articles/agreement/secret 用户服务协议 articles/agreement/service
// 用户隐私,用户服务协议
const secretService = (name) =>{
return request({
@@ -34,9 +34,19 @@ const secretService = (name) =>{
})
}
// 一键登录
const keyAuth = (data) => {
return request({
url: 'user/socialite/login/unicloud/app',
method: 'POST',
data: data
})
}
export {
smsAuth,
getSms,
secretService
secretService,
keyAuth
}