提交 a8f6c9a2 编写于 作者: 2 23700113@qq.com

docs(loginByUniverify): 添加跳转id,修改示例代码

上级 c0775c94
......@@ -1144,7 +1144,7 @@ exports.main = async function(event,context) {
```
### 手机一键登录
### 手机一键登录@univerify
用法:`uniID.loginByUniverify(Object loginByUniverifyParams)`
......@@ -1180,11 +1180,11 @@ exports.main = async function(event,context) {
const uniID = require('uni-id')
exports.main = async function(event,context) {
const {
accessToken,
access_token,
openid
} = event
const res = await uniID.loginByUniverify({
accessToken,
access_token,
openid
})
return res
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册