Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
hello_uni-id-pages
提交
78837301
H
hello_uni-id-pages
项目概览
DCloud
/
hello_uni-id-pages
通知
1054
Star
31
Fork
43
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
2
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
hello_uni-id-pages
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
78837301
编写于
11月 16, 2022
作者:
C
chenruilong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.0.31
上级
26a60d45
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
17 addition
and
13 deletion
+17
-13
manifest.json
manifest.json
+1
-1
uni_modules/uni-id-pages/changelog.md
uni_modules/uni-id-pages/changelog.md
+4
-0
uni_modules/uni-id-pages/package.json
uni_modules/uni-id-pages/package.json
+1
-1
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-qq.js
...niCloud/cloudfunctions/uni-id-co/module/relate/bind-qq.js
+1
-1
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-weixin.js
...oud/cloudfunctions/uni-id-co/module/relate/bind-weixin.js
+1
-1
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/send-email-code.js
...cloudfunctions/uni-id-co/module/verify/send-email-code.js
+7
-7
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/send-sms-code.js
...d/cloudfunctions/uni-id-co/module/verify/send-sms-code.js
+1
-1
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
...i-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
+1
-1
未找到文件。
manifest.json
浏览文件 @
78837301
...
...
@@ -57,7 +57,7 @@
"oauth"
:
{
"univerify"
:
{},
"weixin"
:
{
"appid"
:
"
wxffdd8fa6ec4ef2a0
"
,
"appid"
:
""
,
"UniversalLinks"
:
"https://static-9f641af8-e860-44e5-b18f-f68dd8fe3fe4.bspapp.com/uni-universallinks/__UNI__0B1B311/"
},
"apple"
:
{}
...
...
uni_modules/uni-id-pages/changelog.md
浏览文件 @
78837301
## 1.0.31(2022-11-16)
-
uni-id-co 修复 验证码可能无法收到的bug
## 1.0.30(2022-11-11)
-
uni-id-co 修复 用户只有openid时绑定微信/QQ报错
## 1.0.29(2022-11-10)
-
uni-id-co 支持URL化方式请求
[
详情
](
https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#adapter-http
)
## 1.0.28(2022-11-09)
...
...
uni_modules/uni-id-pages/package.json
浏览文件 @
78837301
{
"id"
:
"uni-id-pages"
,
"displayName"
:
"uni-id-pages"
,
"version"
:
"1.0.
29
"
,
"version"
:
"1.0.
31
"
,
"description"
:
"云端一体简单、统一、可扩展的用户中心页面模版"
,
"keywords"
:
[
"用户管理"
,
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-qq.js
浏览文件 @
78837301
...
...
@@ -78,7 +78,7 @@ module.exports = async function (params = {}) {
const
bindAccount
=
{
qq_openid
:
{
[
client
Platform
]:
openid
[
qq
Platform
]:
openid
},
qq_unionid
:
unionid
}
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-weixin.js
浏览文件 @
78837301
...
...
@@ -64,7 +64,7 @@ module.exports = async function (params = {}) {
const
bindAccount
=
{
wx_openid
:
{
[
client
Platform
]:
openid
[
weixin
Platform
]:
openid
},
wx_unionid
:
unionid
}
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/send-email-code.js
浏览文件 @
78837301
...
...
@@ -23,26 +23,26 @@ module.exports = async function (params = {}) {
scene
:
'
string
'
}
this
.
middleware
.
validate
(
params
,
schema
)
const
{
email
,
captcha
,
scene
}
=
params
if
(
!
(
Object
.
values
(
EMAIL_SCENE
).
includes
(
scene
)))
{
throw
{
errCode
:
ERROR
.
INVALID_PARAM
}
}
await
verifyCaptcha
.
call
(
this
,
{
scene
:
'
send-email-code
'
,
captcha
})
// -- 测试代码
require
(
'
../../lib/utils/verify-code
'
)
await
require
(
'
../../lib/utils/verify-code
'
)
.
setEmailVerifyCode
.
call
(
this
,
{
email
,
code
:
'
123456
'
,
...
...
@@ -54,7 +54,7 @@ module.exports = async function (params = {}) {
errMsg
:
`已启动测试模式,直接使用:123456作为邮箱验证码即可。\n如果是正式项目,需自行实现发送邮件的相关功能`
}
// -- 测试代码
//发送邮件--需自行实现
}
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/send-sms-code.js
浏览文件 @
78837301
...
...
@@ -50,7 +50,7 @@ module.exports = async function (params = {}) {
this
.
config
.
service
.
sms
.
scene
&&
this
.
config
.
service
.
sms
.
scene
[
scene
])
||
{}
if
(
!
templateId
)
{
require
(
'
../../lib/utils/verify-code
'
)
await
require
(
'
../../lib/utils/verify-code
'
)
.
setMobileVerifyCode
.
call
(
this
,
{
mobile
:
params
.
mobile
,
code
:
'
123456
'
,
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
浏览文件 @
78837301
{
"name"
:
"uni-id-co"
,
"version"
:
"1.0.
29
"
,
"version"
:
"1.0.
31
"
,
"description"
:
""
,
"main"
:
"index.js"
,
"keywords"
:
[],
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录