From 96afac889dca805d0b4298c265f130ca41201039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E7=BA=A2=E4=BF=9D?= Date: Wed, 2 Dec 2020 18:46:34 +0800 Subject: [PATCH] =?UTF-8?q?uni.login=E4=B8=AD=E4=BB=8B=E7=BB=8Duni-id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/plugins/login.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/api/plugins/login.md b/docs/api/plugins/login.md index e5fa058c54..3f6d7a62c0 100644 --- a/docs/api/plugins/login.md +++ b/docs/api/plugins/login.md @@ -39,6 +39,10 @@ H5平台登陆注意事项: * [字节跳动小程序登录](https://developer.toutiao.com/dev/cn/mini-app/develop/open-capacity/log-in/login) * [Apple登录、苹果登录、Sign in with Apple](https://ask.dcloud.net.cn/article/36651) +如果服务端使用`uniCloud`,那么官方提供了[uni-id](https://uniapp.dcloud.net.cn/uniCloud/uni-id)云端统一登录服务,把微信登录、短信验证码登录及角色权限管理等服务端登录开发,进行了统一的封装。 + +前端统一的`uni.login`和云端统一的`uni-id`搭配,可以极大提升登录业务的开发效率,强烈推荐给开发者使用。uni-id的文档另见:https://uniapp.dcloud.net.cn/uniCloud/uni-id + **示例** -- GitLab