Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
德宏大魔王
uni-starter
提交
f9398e0c
U
uni-starter
项目概览
德宏大魔王
/
uni-starter
与 Fork 源项目一致
Fork自
DCloud / uni-starter
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-starter
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
f9398e0c
编写于
10月 19, 2022
作者:
DCloud_JSON
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 更新依赖的的版本为1.0.26
上级
4880ca5a
变更
146
展开全部
显示空白变更内容
内联
并排
Showing
146 changed file
with
11043 addition
and
10423 deletion
+11043
-10423
App.vue
App.vue
+5
-2
changelog.md
changelog.md
+2
-0
common/appInit.js
common/appInit.js
+17
-17
manifest.json
manifest.json
+3
-0
uni-starter.config.js
uni-starter.config.js
+1
-3
uni_modules/uni-easyinput/changelog.md
uni_modules/uni-easyinput/changelog.md
+4
-0
uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue
.../uni-easyinput/components/uni-easyinput/uni-easyinput.vue
+18
-13
uni_modules/uni-easyinput/package.json
uni_modules/uni-easyinput/package.json
+1
-1
uni_modules/uni-id-pages/changelog.md
uni_modules/uni-id-pages/changelog.md
+83
-69
uni_modules/uni-id-pages/common/password.js
uni_modules/uni-id-pages/common/password.js
+1
-1
uni_modules/uni-id-pages/common/store.js
uni_modules/uni-id-pages/common/store.js
+55
-55
uni_modules/uni-id-pages/components/uni-id-pages-email-form/uni-id-pages-email-form.vue
...nents/uni-id-pages-email-form/uni-id-pages-email-form.vue
+246
-246
uni_modules/uni-id-pages/components/uni-id-pages-fab-login/uni-id-pages-fab-login.vue
...ponents/uni-id-pages-fab-login/uni-id-pages-fab-login.vue
+80
-74
uni_modules/uni-id-pages/components/uni-id-pages-user-profile/uni-id-pages-user-profile.vue
...s/uni-id-pages-user-profile/uni-id-pages-user-profile.vue
+176
-176
uni_modules/uni-id-pages/init.js
uni_modules/uni-id-pages/init.js
+11
-6
uni_modules/uni-id-pages/package.json
uni_modules/uni-id-pages/package.json
+1
-1
uni_modules/uni-id-pages/pages/common/webview/webview.vue
uni_modules/uni-id-pages/pages/common/webview/webview.vue
+40
-40
uni_modules/uni-id-pages/pages/login/login-smscode.vue
uni_modules/uni-id-pages/pages/login/login-smscode.vue
+122
-122
uni_modules/uni-id-pages/pages/login/login-withoutpwd.vue
uni_modules/uni-id-pages/pages/login/login-withoutpwd.vue
+221
-212
uni_modules/uni-id-pages/pages/register/register-admin.vue
uni_modules/uni-id-pages/pages/register/register-admin.vue
+179
-179
uni_modules/uni-id-pages/pages/register/register-by-email.vue
...modules/uni-id-pages/pages/register/register-by-email.vue
+216
-216
uni_modules/uni-id-pages/pages/register/register.vue
uni_modules/uni-id-pages/pages/register/register.vue
+1
-4
uni_modules/uni-id-pages/pages/retrieve/retrieve-by-email.vue
...modules/uni-id-pages/pages/retrieve/retrieve-by-email.vue
+223
-223
uni_modules/uni-id-pages/pages/retrieve/retrieve.vue
uni_modules/uni-id-pages/pages/retrieve/retrieve.vue
+246
-246
uni_modules/uni-id-pages/pages/userinfo/bind-mobile/bind-mobile.vue
...s/uni-id-pages/pages/userinfo/bind-mobile/bind-mobile.vue
+130
-130
uni_modules/uni-id-pages/pages/userinfo/cropImage/cropImage.vue
...dules/uni-id-pages/pages/userinfo/cropImage/cropImage.vue
+38
-38
uni_modules/uni-id-pages/pages/userinfo/cropImage/limeClipper/README.md
...i-id-pages/pages/userinfo/cropImage/limeClipper/README.md
+226
-226
uni_modules/uni-id-pages/pages/userinfo/cropImage/limeClipper/images/photo.svg
...ges/pages/userinfo/cropImage/limeClipper/images/photo.svg
+19
-19
uni_modules/uni-id-pages/pages/userinfo/cropImage/limeClipper/images/rotate.svg
...es/pages/userinfo/cropImage/limeClipper/images/rotate.svg
+15
-15
uni_modules/uni-id-pages/pages/userinfo/cropImage/limeClipper/index.css
...i-id-pages/pages/userinfo/cropImage/limeClipper/index.css
+160
-160
uni_modules/uni-id-pages/pages/userinfo/cropImage/limeClipper/limeClipper.vue
...ages/pages/userinfo/cropImage/limeClipper/limeClipper.vue
+815
-815
uni_modules/uni-id-pages/pages/userinfo/userinfo.vue
uni_modules/uni-id-pages/pages/userinfo/userinfo.vue
+253
-218
uni_modules/uni-id-pages/readme.md
uni_modules/uni-id-pages/readme.md
+14
-14
uni_modules/uni-id-pages/static/limeClipper/photo.svg
uni_modules/uni-id-pages/static/limeClipper/photo.svg
+19
-19
uni_modules/uni-id-pages/static/limeClipper/rotate.svg
uni_modules/uni-id-pages/static/limeClipper/rotate.svg
+15
-15
uni_modules/uni-id-pages/static/login/weixin.png
uni_modules/uni-id-pages/static/login/weixin.png
+0
-0
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/common/constants.js
...ges/uniCloud/cloudfunctions/uni-id-co/common/constants.js
+87
-83
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/common/error.js
...d-pages/uniCloud/cloudfunctions/uni-id-co/common/error.js
+57
-52
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/common/utils.js
...d-pages/uniCloud/cloudfunctions/uni-id-co/common/utils.js
+197
-190
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/common/validator.js
...ges/uniCloud/cloudfunctions/uni-id-co/common/validator.js
+432
-432
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/config/permission.js
...es/uniCloud/cloudfunctions/uni-id-co/config/permission.js
+78
-66
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/index.obj.js
...i-id-pages/uniCloud/cloudfunctions/uni-id-co/index.obj.js
+41
-6
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lang/en.js
...uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lang/en.js
+49
-44
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lang/index.js
...-id-pages/uniCloud/cloudfunctions/uni-id-co/lang/index.js
+22
-22
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lang/zh-hans.js
...d-pages/uniCloud/cloudfunctions/uni-id-co/lang/zh-hans.js
+49
-44
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/README.md
...-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/README.md
+2
-2
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/alipay/account/index.js
...nctions/uni-id-co/lib/third-party/alipay/account/index.js
+16
-16
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/alipay/account/protocols.js
...ons/uni-id-co/lib/third-party/alipay/account/protocols.js
+10
-10
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/alipay/alipayBase.js
...dfunctions/uni-id-co/lib/third-party/alipay/alipayBase.js
+231
-231
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/apple/account/index.js
...unctions/uni-id-co/lib/third-party/apple/account/index.js
+76
-76
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/apple/rsa-public-key-pem.js
...ons/uni-id-co/lib/third-party/apple/rsa-public-key-pem.js
+64
-64
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/index.js
...niCloud/cloudfunctions/uni-id-co/lib/third-party/index.js
+36
-36
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/qq/account/index.js
...udfunctions/uni-id-co/lib/third-party/qq/account/index.js
+97
-97
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/qq/normalize.js
.../cloudfunctions/uni-id-co/lib/third-party/qq/normalize.js
+85
-85
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/share/create-api.js
...udfunctions/uni-id-co/lib/third-party/share/create-api.js
+73
-73
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/weixin/account/index.js
...nctions/uni-id-co/lib/third-party/weixin/account/index.js
+111
-89
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/weixin/normalize.js
...udfunctions/uni-id-co/lib/third-party/weixin/normalize.js
+95
-95
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/weixin/utils.js
.../cloudfunctions/uni-id-co/lib/third-party/weixin/utils.js
+87
-87
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/account.js
...es/uniCloud/cloudfunctions/uni-id-co/lib/utils/account.js
+130
-130
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/captcha.js
...es/uniCloud/cloudfunctions/uni-id-co/lib/utils/captcha.js
+76
-76
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/config.js
...ges/uniCloud/cloudfunctions/uni-id-co/lib/utils/config.js
+135
-135
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/fission.js
...es/uniCloud/cloudfunctions/uni-id-co/lib/utils/fission.js
+192
-192
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/login.js
...ages/uniCloud/cloudfunctions/uni-id-co/lib/utils/login.js
+232
-231
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/logout.js
...ges/uniCloud/cloudfunctions/uni-id-co/lib/utils/logout.js
+46
-46
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/password.js
...s/uniCloud/cloudfunctions/uni-id-co/lib/utils/password.js
+116
-116
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/qq.js
...d-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/qq.js
+152
-152
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/register.js
...s/uniCloud/cloudfunctions/uni-id-co/lib/utils/register.js
+211
-211
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/relate.js
...ges/uniCloud/cloudfunctions/uni-id-co/lib/utils/relate.js
+162
-62
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/sms.js
...-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/sms.js
+81
-81
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/unified-login.js
...Cloud/cloudfunctions/uni-id-co/lib/utils/unified-login.js
+98
-98
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/univerify.js
.../uniCloud/cloudfunctions/uni-id-co/lib/utils/univerify.js
+27
-27
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/update-user-info.js
...ud/cloudfunctions/uni-id-co/lib/utils/update-user-info.js
+25
-25
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/verify-code.js
...niCloud/cloudfunctions/uni-id-co/lib/utils/verify-code.js
+152
-152
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/weixin.js
...ges/uniCloud/cloudfunctions/uni-id-co/lib/utils/weixin.js
+198
-186
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/access-control.js
...oud/cloudfunctions/uni-id-co/middleware/access-control.js
+59
-59
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/auth.js
...ages/uniCloud/cloudfunctions/uni-id-co/middleware/auth.js
+17
-17
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/index.js
...ges/uniCloud/cloudfunctions/uni-id-co/middleware/index.js
+7
-7
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/rbac.js
...ages/uniCloud/cloudfunctions/uni-id-co/middleware/rbac.js
+39
-39
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/uni-id-log.js
...niCloud/cloudfunctions/uni-id-co/middleware/uni-id-log.js
+39
-39
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/validate.js
.../uniCloud/cloudfunctions/uni-id-co/middleware/validate.js
+7
-7
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/close-account.js
.../cloudfunctions/uni-id-co/module/account/close-account.js
+16
-16
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/get-account-info.js
...oudfunctions/uni-id-co/module/account/get-account-info.js
+69
-69
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/index.js
...uniCloud/cloudfunctions/uni-id-co/module/account/index.js
+7
-7
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/reset-pwd-by-email.js
...dfunctions/uni-id-co/module/account/reset-pwd-by-email.js
+119
-119
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/admin/add-user.js
...niCloud/cloudfunctions/uni-id-co/module/admin/add-user.js
+118
-118
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/admin/index.js
...s/uniCloud/cloudfunctions/uni-id-co/module/admin/index.js
+4
-4
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/dev/get-supported-login-type.js
...unctions/uni-id-co/module/dev/get-supported-login-type.js
+71
-71
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/dev/index.js
...ges/uniCloud/cloudfunctions/uni-id-co/module/dev/index.js
+3
-3
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/fission/accept-invite.js
.../cloudfunctions/uni-id-co/module/fission/accept-invite.js
+25
-25
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/fission/get-invited-user.js
...oudfunctions/uni-id-co/module/fission/get-invited-user.js
+80
-80
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/fission/index.js
...uniCloud/cloudfunctions/uni-id-co/module/fission/index.js
+4
-4
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/index.js
...s/uniCloud/cloudfunctions/uni-id-co/module/login/index.js
+20
-19
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-alipay.js
.../cloudfunctions/uni-id-co/module/login/login-by-alipay.js
+70
-70
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-apple.js
...d/cloudfunctions/uni-id-co/module/login/login-by-apple.js
+77
-77
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-baidu.js
...d/cloudfunctions/uni-id-co/module/login/login-by-baidu.js
+9
-9
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-dingtalk.js
...loudfunctions/uni-id-co/module/login/login-by-dingtalk.js
+9
-9
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-douyin.js
.../cloudfunctions/uni-id-co/module/login/login-by-douyin.js
+9
-9
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-email-code.js
...udfunctions/uni-id-co/module/login/login-by-email-code.js
+9
-9
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-email-link.js
...udfunctions/uni-id-co/module/login/login-by-email-link.js
+9
-9
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-facebook.js
...loudfunctions/uni-id-co/module/login/login-by-facebook.js
+9
-9
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-google.js
.../cloudfunctions/uni-id-co/module/login/login-by-google.js
+9
-9
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-qq.js
...loud/cloudfunctions/uni-id-co/module/login/login-by-qq.js
+164
-164
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-taobao.js
.../cloudfunctions/uni-id-co/module/login/login-by-taobao.js
+9
-9
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-toutiao.js
...cloudfunctions/uni-id-co/module/login/login-by-toutiao.js
+9
-9
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-univerify.js
...oudfunctions/uni-id-co/module/login/login-by-univerify.js
+69
-69
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-weibo.js
...d/cloudfunctions/uni-id-co/module/login/login-by-weibo.js
+9
-9
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-weixin-mobile.js
...unctions/uni-id-co/module/login/login-by-weixin-mobile.js
+109
-0
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-weixin.js
.../cloudfunctions/uni-id-co/module/login/login-by-weixin.js
+154
-154
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login.js
...s/uniCloud/cloudfunctions/uni-id-co/module/login/login.js
+94
-94
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/logout/index.js
.../uniCloud/cloudfunctions/uni-id-co/module/logout/index.js
+3
-3
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/logout/logout.js
...uniCloud/cloudfunctions/uni-id-co/module/logout/logout.js
+15
-15
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/authorize-app-login.js
...nctions/uni-id-co/module/multi-end/authorize-app-login.js
+37
-37
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/index.js
...iCloud/cloudfunctions/uni-id-co/module/multi-end/index.js
+5
-5
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/remove-authorized-app.js
...tions/uni-id-co/module/multi-end/remove-authorized-app.js
+30
-30
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/set-authorized-app.js
...unctions/uni-id-co/module/multi-end/set-authorized-app.js
+36
-36
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/utils.js
...iCloud/cloudfunctions/uni-id-co/module/multi-end/utils.js
+36
-36
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/register/index.js
...niCloud/cloudfunctions/uni-id-co/module/register/index.js
+5
-5
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/register/register-admin.js
...loudfunctions/uni-id-co/module/register/register-admin.js
+72
-62
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/register/register-user-by-email.js
...tions/uni-id-co/module/register/register-user-by-email.js
+87
-87
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-alipay.js
...oud/cloudfunctions/uni-id-co/module/relate/bind-alipay.js
+63
-63
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-apple.js
...loud/cloudfunctions/uni-id-co/module/relate/bind-apple.js
+62
-62
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-mobile-by-mp-weixin.js
...tions/uni-id-co/module/relate/bind-mobile-by-mp-weixin.js
+48
-17
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-mobile-by-univerify.js
...tions/uni-id-co/module/relate/bind-mobile-by-univerify.js
+70
-70
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
+110
-110
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
+100
-100
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/index.js
.../uniCloud/cloudfunctions/uni-id-co/module/relate/index.js
+13
-9
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/unbind-alipay.js
...d/cloudfunctions/uni-id-co/module/relate/unbind-alipay.js
+32
-0
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/unbind-apple.js
...ud/cloudfunctions/uni-id-co/module/relate/unbind-apple.js
+32
-0
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/unbind-qq.js
...Cloud/cloudfunctions/uni-id-co/module/relate/unbind-qq.js
+46
-0
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/unbind-weixin.js
...d/cloudfunctions/uni-id-co/module/relate/unbind-weixin.js
+40
-0
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/utils/index.js
...s/uniCloud/cloudfunctions/uni-id-co/module/utils/index.js
+4
-4
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/utils/refresh-token.js
...ud/cloudfunctions/uni-id-co/module/utils/refresh-token.js
+19
-19
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/utils/set-push-cid.js
...oud/cloudfunctions/uni-id-co/module/utils/set-push-cid.js
+141
-141
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/create-captcha.js
.../cloudfunctions/uni-id-co/module/verify/create-captcha.js
+34
-34
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/index.js
.../uniCloud/cloudfunctions/uni-id-co/module/verify/index.js
+7
-7
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/refresh-captcha.js
...cloudfunctions/uni-id-co/module/verify/refresh-captcha.js
+34
-34
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
+60
-60
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/send-email-link.js
...cloudfunctions/uni-id-co/module/verify/send-email-link.js
+12
-12
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
+71
-71
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
...i-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
+19
-17
uni_modules/uni-id-pages/uniCloud/database/opendb-device.schema.json
.../uni-id-pages/uniCloud/database/opendb-device.schema.json
+141
-141
uni_modules/uni-id-pages/uniCloud/database/uni-id-device.schema.json
.../uni-id-pages/uniCloud/database/uni-id-device.schema.json
+82
-82
uni_modules/uni-id-pages/uniCloud/database/uni-id-log.schema.json
...les/uni-id-pages/uniCloud/database/uni-id-log.schema.json
+71
-71
uni_modules/uni-id-pages/uniCloud/database/uni-id-permissions.schema.json
...id-pages/uniCloud/database/uni-id-permissions.schema.json
+52
-52
uni_modules/uni-id-pages/uniCloud/database/uni-id-roles.schema.json
...s/uni-id-pages/uniCloud/database/uni-id-roles.schema.json
+50
-50
uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json
...s/uni-id-pages/uniCloud/database/uni-id-users.schema.json
+89
-65
未找到文件。
App.vue
浏览文件 @
f9398e0c
...
...
@@ -5,6 +5,7 @@
openApp
()
//创建在h5端全局悬浮引导用户下载app的功能
// #endif
import
checkIsAgree
from
'
@/pages/uni-agree/utils/uni-agree.js
'
;
import
uniIdPageInit
from
'
@/uni_modules/uni-id-pages/init.js
'
;
export
default
{
globalData
:
{
searchText
:
''
,
...
...
@@ -18,8 +19,10 @@
this
.
globalData
.
$i18n
=
this
.
$i18n
this
.
globalData
.
$t
=
str
=>
this
.
$t
(
str
)
initApp
(
);
console
.
log
(
'
uni.getPushClientId
'
,
uni
.
getPushClientId
);
initApp
();
uniIdPageInit
()
// #ifdef APP-PLUS
//checkIsAgree(); APP端暂时先用原生默认生成的。目前,自定义方式启动vue界面时,原生层已经请求了部分权限这并不符合国家的法规
...
...
changelog.md
浏览文件 @
f9398e0c
## 2.0.5(2022-10-19)
-
更新依赖的
`uni-id-pages`
的版本为1.0.26
## 2.0.4(2022-09-21)
-
新增 使用uni-id-pages的账号信息的状态管理功能
## 2.0.3(2022-09-20)
...
...
common/appInit.js
浏览文件 @
f9398e0c
...
...
@@ -47,11 +47,11 @@ export default async function() {
methodName
,
// 云对象的方法名称
params
// 参数列表
})
{
console
.
log
(
'
interceptObject
'
,{
objectName
,
// 云对象名称
methodName
,
// 云对象的方法名称
params
// 参数列表
});
//
console.log('interceptObject',{
//
objectName, // 云对象名称
//
methodName, // 云对象的方法名称
//
params // 参数列表
//
});
if
(
objectName
==
"
uni-id-co
"
&&
(
methodName
.
includes
(
'
loginBy
'
)
||
[
'
login
'
,
'
registerUser
'
].
includes
(
methodName
)
)){
console
.
log
(
'
执行登录相关云对象
'
);
params
[
0
].
inviteCode
=
await
new
Promise
((
callBack
)
=>
{
...
...
@@ -84,7 +84,7 @@ export default async function() {
})
// console.log(params);
}
console
.
log
(
params
);
//
console.log(params);
},
success
(
e
)
{
console
.
log
(
e
);
...
...
@@ -94,17 +94,17 @@ export default async function() {
},
fail
(
e
){
console
.
error
(
e
);
if
(
debug
)
{
uni
.
showModal
({
content
:
JSON
.
stringify
(
e
),
showCancel
:
false
});
}
else
{
uni
.
showToast
({
title
:
'
系统错误请稍后再试
'
,
icon
:
'
error
'
});
}
//
if (debug) {
//
uni.showModal({
//
content: JSON.stringify(e),
//
showCancel: false
//
});
//
}else{
//
uni.showToast({
//
title: '系统错误请稍后再试',
//
icon:'error'
//
});
//
}
}
})
...
...
manifest.json
浏览文件 @
f9398e0c
...
...
@@ -40,6 +40,9 @@
"ios"
:
{
},
"sdkConfigs"
:
{
"push"
:
{
"unipush"
:
null
}
}
}
},
...
...
uni-starter.config.js
浏览文件 @
f9398e0c
//这是应用的配置页面,App.vue挂载到getApp().globalData.config
export
default
{
//是否打开调试模式
"
debug
"
:
false
,
"
h5
"
:
{
"
url
"
:
"
https://uni-starter.dcloud.net.cn
"
,
// 前端网页托管的域名
// 在h5端全局悬浮引导用户下载app的功能 更多自定义要求在/common/openApp.js中修改
...
...
@@ -17,7 +15,7 @@ export default {
"
mp
"
:
{
"
weixin
"
:
{
//微信小程序原始id,微信小程序分享时
"
id
"
:
"
gh_33446d7f7a26
"
"
id
"
:
""
}
},
//关于应用
...
...
uni_modules/uni-easyinput/changelog.md
浏览文件 @
f9398e0c
## 1.1.3(2022-09-22)
-
修复,引入 uni.scss 引入默认主题色报错的问题
## 1.1.2(2022-09-22)
-
增加主题色 primaryColor 配置选项
## 1.1.1(2022-09-19)
-
修复,输入后回车,change 事件触发两次,
[
详情
](
https://ask.dcloud.net.cn/question/152149
)
## 1.1.0(2022-06-30)
...
...
uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue
浏览文件 @
f9398e0c
...
...
@@ -18,7 +18,7 @@
<!-- 开启密码时显示小眼睛 -->
<uni-icons
v-if=
"isVal"
class=
"content-clear-icon"
:class=
"
{'is-textarea-icon':type==='textarea'}"
:type="showPassword?'eye-slash-filled':'eye-filled'" :size="22"
:color="focusShow
?'#2979ff'
:'#c0c4cc'" @click="onEyes">
:color="focusShow
? primaryColor
:'#c0c4cc'" @click="onEyes">
</uni-icons>
</
template
>
<
template
v-else-if=
"suffixIcon"
>
...
...
@@ -28,7 +28,7 @@
<
template
v-else
>
<uni-icons
v-if=
"clearable && isVal && !disabled && type !== 'textarea'"
class=
"content-clear-icon"
:class=
"
{'is-textarea-icon':type==='textarea'}" type="clear" :size="clearSize"
:color="msg?'#dd524d':(focusShow?
'#2979ff'
:'#c0c4cc')" @click="onClear">
</uni-icons>
:color="msg?'#dd524d':(focusShow?
primaryColor
:'#c0c4cc')" @click="onClear">
</uni-icons>
</
template
>
<slot
name=
"right"
></slot>
</view>
...
...
@@ -59,6 +59,7 @@
* @property {Number } clearSize 清除图标的大小,单位px(默认15)
* @property {String} prefixIcon 输入框头部图标
* @property {String} suffixIcon 输入框尾部图标
* @property {String} primaryColor 设置主题色(默认#2979ff)
* @property {Boolean} trim 是否自动去除两端的空格
* @value both 去除两端空格
* @value left 去除左侧空格
...
...
@@ -177,6 +178,10 @@
type
:
Boolean
,
default
:
true
},
primaryColor
:
{
type
:
String
,
default
:
'
#2979ff
'
},
styles
:
{
type
:
Object
,
default
()
{
...
...
@@ -244,7 +249,7 @@
})
},
inputContentStyle
()
{
const
focusColor
=
this
.
focusShow
?
'
#2979ff
'
:
this
.
styles
.
borderColor
const
focusColor
=
this
.
focusShow
?
this
.
primaryColor
:
this
.
styles
.
borderColor
const
borderColor
=
this
.
inputBorder
&&
this
.
msg
?
'
#dd524d
'
:
focusColor
return
obj2strStyle
({
'
border-color
'
:
borderColor
||
'
#e5e5e5
'
,
...
...
uni_modules/uni-easyinput/package.json
浏览文件 @
f9398e0c
{
"id"
:
"uni-easyinput"
,
"displayName"
:
"uni-easyinput 增强输入框"
,
"version"
:
"1.1.
1
"
,
"version"
:
"1.1.
3
"
,
"description"
:
"Easyinput 组件是对原生input组件的增强"
,
"keywords"
:
[
"uni-ui"
,
...
...
uni_modules/uni-id-pages/changelog.md
浏览文件 @
f9398e0c
## 1.0.26(2022-10-18)
-
修复 uni-id-pages 导入时异常的Bug
## 1.0.25(2022-10-14)
-
uni-id-co 增加 微信授权手机号登录方式
[
文档
](
https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#login-by-weixin-mobile
)
-
uni-id-co 增加 解绑第三方平台账号
[
文档
](
https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#unbind-third-account
)
-
uni-id-co 微信绑定手机号支持通过
`getPhoneNumber`
事件回调的
`code`
绑定
[
文档
](
https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#bind-mobile-by-mp-weixin
)
-
修复 sendSmsCode 接口未在参数内传递 templateId 时 未能从配置文件读取 templateId 的Bug
## 1.0.24(2022-10-08)
-
修复 报uni-id-users表schema内错误的bug
## 1.0.23(2022-10-08)
-
修复 vue3下vite编译发行打包失败
-
修复 某些情况下注册账号,报TypeErroe:Cannot read properties of undefined (reading ’showToast‘)的错误
## 1.0.22(2022-09-23)
-
修复 某些情况下,修改密码报“两次输入密码不一致”的bug
## 1.0.21(2022-09-21)
-
修复 store.hasLogin的值在某些情况下会出错的bug
## 1.0.20(2022-09-21)
...
...
uni_modules/uni-id-pages/common/password.js
浏览文件 @
f9398e0c
...
...
@@ -66,7 +66,7 @@ function getPwdRules(pwdName = 'password', rePwdName = 'password2') {
},
{
validateFunction
:
function
(
rule
,
value
,
data
,
callback
)
{
if
(
value
!=
data
.
password
)
{
if
(
value
!=
data
[
pwdName
]
)
{
callback
(
ERROR
.
normal
.
rePwdErr
)
}
return
true
...
...
uni_modules/uni-id-pages/common/store.js
浏览文件 @
f9398e0c
...
...
@@ -37,7 +37,7 @@ export const mutations = {
}
else
{
try
{
let
res
=
await
usersTable
.
where
(
"
'_id' == $cloudEnv_uid
"
)
.
field
(
'
mobile,nickname,user
_
name,email,avatar_file
'
)
.
field
(
'
mobile,nickname,username,email,avatar_file
'
)
.
get
()
console
.
log
(
'
fromDbData
'
,
res
.
result
.
data
);
this
.
setUserInfo
(
res
.
result
.
data
[
0
])
...
...
@@ -69,7 +69,7 @@ export const mutations = {
uni.$emit('uni-id-pages-logout')
this.setUserInfo({},{cover:true})
},
loginSuccess(e){
loginSuccess(e
= {}
){
const {
showToast = true, toastText = '登录成功', autoBack = true, uniIdRedirectUrl = ''
} = e
...
...
@@ -94,7 +94,7 @@ export const mutations = {
delta++
}
})
console.log('判断需要返回几层:', pages
, delta);
// console.log('判断需要返回几层:'
, delta);
if (uniIdRedirectUrl) {
return uni.reLaunch({
url: uniIdRedirectUrl
...
...
uni_modules/uni-id-pages/components/uni-id-pages-email-form/uni-id-pages-email-form.vue
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/components/uni-id-pages-fab-login/uni-id-pages-fab-login.vue
浏览文件 @
f9398e0c
...
...
@@ -234,7 +234,7 @@
console
.
log
(
'
出乎意料的情况,path:
'
+
path
);
}
},
async
login_before
(
type
,
navigateBack
=
true
)
{
async
login_before
(
type
,
navigateBack
=
true
,
options
=
{}
)
{
console
.
log
(
type
);
//提示空实现
if
([
"
qq
"
,
...
...
@@ -300,7 +300,7 @@
let
agreementsRef
=
this
.
getParentComponent
().
$refs
.
agreements
return
agreementsRef
.
popup
(()
=>
{
console
.
log
(
type
,
navigateBack
);
this
.
login_before
(
type
,
navigateBack
)
this
.
login_before
(
type
,
navigateBack
,
options
)
})
}
...
...
@@ -331,7 +331,6 @@
}
// #endif
uni
.
showLoading
({
mask
:
true
})
...
...
@@ -397,6 +396,13 @@
}
})
}
if
(
type
===
'
weixinMobile
'
)
{
return
this
.
login
({
phoneCode
:
options
.
phoneNumberCode
},
type
)
}
uni
.
login
({
"
provider
"
:
type
,
"
onlyAuthorize
"
:
true
,
...
...
@@ -429,7 +435,7 @@
type
});
//toLowerCase
let
action
=
'
loginBy
'
+
type
.
trim
().
toLowerCase
().
replace
(
type
[
0
],
type
[
0
].
toUpperCase
())
let
action
=
'
loginBy
'
+
type
.
trim
().
replace
(
type
[
0
],
type
[
0
].
toUpperCase
())
const
uniIdCo
=
uniCloud
.
importObject
(
"
uni-id-co
"
,{
customUI
:
true
})
...
...
@@ -441,7 +447,7 @@
});
// #ifdef MP-WEIXIN
//如果是微信小程序端的微信登录,且为首次登录,就弹出获取微信昵称+头像用于绑定资料
if
(
type
==
'
weixin
'
&&
result
.
type
==
"
register
"
)
{
if
(
[
'
weixin
'
,
'
weixinMobile
'
].
includes
(
type
)
&&
result
.
type
==
"
register
"
)
{
mutations
.
loginSuccess
({
...
result
,
showToast
:
false
,
...
...
uni_modules/uni-id-pages/components/uni-id-pages-user-profile/uni-id-pages-user-profile.vue
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/init.js
浏览文件 @
f9398e0c
...
...
@@ -56,6 +56,7 @@ export default async function() {
}
// #endif
/* 注释此代码块原因:与uni-starter中的appinit逻辑一致
//3. 绑定clientDB错误事件
// clientDB对象
const db = uniCloud.database()
...
...
@@ -72,9 +73,9 @@ export default async function() {
}
// 解绑clientDB错误事件
//db.off('error', onDBError)
*/
//4. 同步客户端push_clientid至device表
//4. 同步客户端push_clientid至uni-id-device表
if
(
uniCloud
.
onRefreshToken
)
{
uniCloud
.
onRefreshToken
(()
=>
{
console
.
log
(
'
onRefreshToken
'
);
...
...
@@ -90,7 +91,11 @@ export default async function() {
console
.
log
(
'
getPushClientId
'
,
res
);
},
fail
(
e
)
{
console
.
log
(
e
)
console
.
error
(
e
,
"
uni-id-pages 默认在刷新token(登录、注销、切换用户)后获取push客户端标识同步至uni-id-device表;
"
,
"
\n
"
,
"
如果你不使用push模块,请注释或删除,路径:/uni-starter/uni_modules/uni-id-pages/init.js 第79-103行代码
"
)
}
})
}
...
...
uni_modules/uni-id-pages/package.json
浏览文件 @
f9398e0c
{
"id"
:
"uni-id-pages"
,
"displayName"
:
"uni-id-pages"
,
"version"
:
"1.0.2
1
"
,
"version"
:
"1.0.2
6
"
,
"description"
:
"云端一体简单、统一、可扩展的用户中心页面模版"
,
"keywords"
:
[
"用户管理"
,
...
...
uni_modules/uni-id-pages/pages/common/webview/webview.vue
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/pages/login/login-smscode.vue
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/pages/login/login-withoutpwd.vue
浏览文件 @
f9398e0c
...
...
@@ -7,10 +7,11 @@
<!-- 顶部文字 -->
<text
class=
"title"
>
请选择登录方式
</text>
<!-- 快捷登录框 当url带参数时有效 -->
<template
v-if=
"['apple','weixin'
].includes(type)"
>
<template
v-if=
"['apple','weixin'
, 'weixinMobile'].includes(type)"
>
<text
class=
"tip"
>
将根据第三方账号服务平台的授权范围获取你的信息
</text>
<view
class=
"quickLogin"
>
<image
@
click=
"quickLogin"
:src=
"imgSrc"
mode=
"widthFix"
class=
"quickLoginBtn"
></image>
<image
v-if=
"type !== 'weixinMobile'"
@
click=
"quickLogin"
:src=
"imgSrc"
mode=
"widthFix"
class=
"quickLoginBtn"
></image>
<button
v-else
type=
"primary"
open-type=
"getPhoneNumber"
@
getphonenumber=
"quickLogin"
>
微信授权手机号登录
</button>
<uni-id-pages-agreements
scope=
"register"
ref=
"agreements"
></uni-id-pages-agreements>
</view>
</
template
>
...
...
@@ -98,8 +99,16 @@
//#endif
},
methods
:
{
quickLogin
()
{
this
.
$refs
.
uniFabLogin
.
login_before
(
this
.
type
)
quickLogin
(
e
)
{
let
options
=
{}
if
(
e
.
detail
?.
code
)
{
options
.
phoneNumberCode
=
e
.
detail
.
code
}
if
(
this
.
type
===
'
weixinMobile
'
&&
!
e
.
detail
?.
code
)
return
this
.
$refs
.
uniFabLogin
.
login_before
(
this
.
type
,
true
,
options
)
},
toSmsPage
()
{
console
.
log
(
'
toSmsPage
'
,
this
.
agree
);
...
...
uni_modules/uni-id-pages/pages/register/register-admin.vue
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/pages/register/register-by-email.vue
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/pages/register/register.vue
浏览文件 @
f9398e0c
...
...
@@ -53,9 +53,6 @@
mutations
}
from
'
@/uni_modules/uni-id-pages/common/store.js
'
const
{
loginSuccess
}
=
mutations
const
uniIdCo
=
uniCloud
.
importObject
(
"
uni-id-co
"
)
export
default
{
mixins
:
[
mixin
],
...
...
@@ -118,7 +115,7 @@
submitForm
(
params
)
{
uniIdCo
.
registerUser
(
this
.
formData
).
then
(
e
=>
{
console
.
log
(
e
);
loginSuccess
(
)
this
.
loginSuccess
(
e
)
})
.
catch
(
e
=>
{
console
.
log
(
e
);
...
...
uni_modules/uni-id-pages/pages/retrieve/retrieve-by-email.vue
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/pages/retrieve/retrieve.vue
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/pages/userinfo/bind-mobile/bind-mobile.vue
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/pages/userinfo/cropImage/cropImage.vue
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/pages/userinfo/cropImage/limeClipper/README.md
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/pages/userinfo/cropImage/limeClipper/images/photo.svg
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/pages/userinfo/cropImage/limeClipper/images/rotate.svg
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/pages/userinfo/cropImage/limeClipper/index.css
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/pages/userinfo/cropImage/limeClipper/limeClipper.vue
浏览文件 @
f9398e0c
...
...
@@ -30,11 +30,11 @@
</view>
<view
v-if=
"isShowPhotoBtn"
@
tap=
"uploadImage"
>
<slot
name=
"photo"
v-if=
"$slots.photo"
/>
<image
v-else
src=
"
uni_modules/uni-id-pages/static/limeClipper/photo.svg"
/>
<image
v-else
src=
"
./images/photo.svg"
/>
</view>
<view
v-if=
"isShowRotateBtn"
@
tap=
"rotate"
>
<slot
name=
"rotate"
v-if=
"$slots.rotate"
/>
<image
v-else
src=
"
uni_modules/uni-id-pages/static/limeClipper/rotate.svg"
data-type=
"inverse"
/>
<image
v-else
src=
"
./images/rotate.svg"
data-type=
"inverse"
/>
</view>
<view
v-if=
"isShowConfirmBtn"
@
tap=
"confirm"
>
<slot
name=
"confirm"
v-if=
"$slots.confirm"
/>
...
...
uni_modules/uni-id-pages/pages/userinfo/userinfo.vue
浏览文件 @
f9398e0c
...
...
@@ -160,6 +160,41 @@
uni
.
navigateTo
({
url
:
"
/uni_modules/uni-id-pages/pages/userinfo/deactivate/deactivate
"
})
},
async
bindThirdAccount
(
provider
)
{
const
uniIdCo
=
uniCloud
.
importObject
(
"
uni-id-co
"
)
const
bindField
=
{
weixin
:
'
wx_openid
'
,
alipay
:
'
ali_openid
'
,
apple
:
'
apple_openid
'
,
qq
:
'
qq_openid
'
}[
provider
.
toLowerCase
()]
if
(
this
.
userInfo
[
bindField
])
{
await
uniIdCo
[
'
unbind
'
+
provider
]()
await
mutations
.
updateUserInfo
()
}
else
{
uni
.
login
({
provider
:
provider
.
toLowerCase
(),
onlyAuthorize
:
true
,
success
:
async
e
=>
{
const
res
=
await
uniIdCo
[
'
bind
'
+
provider
]({
code
:
e
.
code
})
if
(
res
.
errCode
)
{
uni
.
showToast
({
title
:
res
.
errMsg
||
'
绑定失败
'
})
}
await
mutations
.
updateUserInfo
()
},
fail
:
async
(
err
)
=>
{
console
.
log
(
err
);
uni
.
hideLoading
()
}
})
}
}
}
}
...
...
uni_modules/uni-id-pages/readme.md
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/static/limeClipper/photo.svg
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/static/limeClipper/rotate.svg
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/static/login/weixin.png
查看替换文件 @
4880ca5a
浏览文件 @
f9398e0c
13.0 KB
|
W:
|
H:
12.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/common/constants.js
浏览文件 @
f9398e0c
...
...
@@ -52,7 +52,11 @@ const LOG_TYPE = {
BIND_WEIXIN
:
'
bind-weixin
'
,
BIND_QQ
:
'
bind-qq
'
,
BIND_APPLE
:
'
bind-apple
'
,
BIND_ALIPAY
:
'
bind-alipay
'
BIND_ALIPAY
:
'
bind-alipay
'
,
UNBIND_WEIXIN
:
'
unbind-weixin
'
,
UNBIND_QQ
:
'
unbind-qq
'
,
UNBIND_ALIPAY
:
'
unbind-alipay
'
,
UNBIND_APPLE
:
'
unbind-apple
'
}
const
SMS_SCENE
=
{
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/common/error.js
浏览文件 @
f9398e0c
...
...
@@ -30,7 +30,12 @@ const ERROR = {
SET_INVITE_CODE_FAILED
:
'
uni-id-set-invite-code-failed
'
,
INVALID_INVITE_CODE
:
'
uni-id-invalid-invite-code
'
,
CHANGE_INVITER_FORBIDDEN
:
'
uni-id-change-inviter-forbidden
'
,
BIND_CONFLICT
:
'
uni-id-bind-conflict
'
BIND_CONFLICT
:
'
uni-id-bind-conflict
'
,
UNBIND_FAIL
:
'
uni-id-unbind-failed
'
,
UNBIND_NOT_SUPPORTED
:
'
uni-id-unbind-not-supported
'
,
UNBIND_UNIQUE_LOGIN
:
'
uni-id-unbind-unique-login
'
,
UNBIND_PASSWORD_NOT_EXISTS
:
'
uni-id-unbind-password-not-exists
'
,
UNBIND_MOBILE_NOT_EXISTS
:
'
uni-id-unbind-mobile-not-exists
'
}
function
isUniIdError
(
errCode
)
{
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/common/utils.js
浏览文件 @
f9398e0c
...
...
@@ -171,6 +171,13 @@ function getNonceStr (length = 16) {
return
str
.
substring
(
0
,
length
)
}
try
{
require
(
'
lodash.merge
'
)
}
catch
(
error
)
{
console
.
error
(
'
uni-id-co缺少依赖,请在uniCloud/cloudfunctions/common/uni-id-co目录执行 npm install 安装依赖
'
)
throw
error
}
module
.
exports
=
{
getType
,
isValidString
,
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/common/validator.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/config/permission.js
浏览文件 @
f9398e0c
...
...
@@ -62,5 +62,17 @@ module.exports = {
},
getAccountInfo
:
{
auth
:
true
},
unbindWeixin
:
{
auth
:
true
},
unbindAlipay
:
{
auth
:
true
},
unbindQQ
:
{
auth
:
true
},
unbindApple
:
{
auth
:
true
}
}
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/index.obj.js
浏览文件 @
f9398e0c
...
...
@@ -29,7 +29,8 @@ const {
loginByWeixin
,
loginByAlipay
,
loginByQQ
,
loginByApple
loginByApple
,
loginByWeixinMobile
}
=
require
(
'
./module/login/index
'
)
const
{
logout
...
...
@@ -41,7 +42,11 @@ const {
bindAlipay
,
bindApple
,
bindQQ
,
bindWeixin
bindWeixin
,
unbindWeixin
,
unbindAlipay
,
unbindQQ
,
unbindApple
}
=
require
(
'
./module/relate/index
'
)
const
{
updatePwd
,
...
...
@@ -74,7 +79,7 @@ const {
}
=
require
(
'
./module/dev/index
'
)
module
.
exports
=
{
async
_before
()
{
async
_before
()
{
const
clientInfo
=
this
.
getClientInfo
()
/**
* 检查clientInfo,无appId和uniPlatform时本云对象无法正常运行
...
...
@@ -157,7 +162,7 @@ module.exports = {
// 挂载uni-captcha到this上,方便后续调用
this
.
uniCaptcha
=
uniCaptcha
Object
.
defineProperty
(
this
,
'
uniOpenBridge
'
,
{
get
()
{
get
()
{
return
require
(
'
uni-open-bridge-common
'
)
}
})
...
...
@@ -181,7 +186,7 @@ module.exports = {
// 通用权限校验模块
await
this
.
middleware
.
accessControl
()
},
_after
(
error
,
result
)
{
_after
(
error
,
result
)
{
if
(
error
)
{
// 处理中间件内抛出的标准响应对象
if
(
error
.
errCode
&&
getType
(
error
)
===
'
object
'
)
{
...
...
@@ -217,6 +222,10 @@ module.exports = {
* @param {String} params.nickname 昵称
* @param {Array} params.authorizedApp 允许登录的AppID列表
* @param {Array} params.role 用户角色列表
* @param {String} params.mobile 手机号
* @param {String} params.email 邮箱
* @param {Array} params.tags 用户标签
* @param {Number} params.status 用户状态
* @returns
*/
addUser
,
...
...
@@ -359,6 +368,7 @@ module.exports = {
* @returns
*/
loginByApple
,
loginByWeixinMobile
,
/**
* 用户退出登录
* @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#logout
...
...
@@ -541,5 +551,30 @@ module.exports = {
* @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#get-supported-login-type
* @returns
*/
getSupportedLoginType
getSupportedLoginType
,
/**
* 解绑微信
* @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#unbind-weixin
* @returns
*/
unbindWeixin
,
/**
* 解绑支付宝
* @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#unbind-alipay
* @returns
*/
unbindAlipay
,
/**
* 解绑QQ
* @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#unbind-qq
* @returns
*/
unbindQQ
,
/**
* 解绑Apple
* @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#unbind-apple
* @returns
*/
unbindApple
}
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lang/en.js
浏览文件 @
f9398e0c
...
...
@@ -12,7 +12,7 @@ const sentence = {
'
uni-id-account-audit-failed
'
:
'
Account audit failed
'
,
'
uni-id-account-closed
'
:
'
Account has been closed
'
,
'
uni-id-captcha-required
'
:
'
Captcha required
'
,
'
uni-id-password-error
'
:
'
Username or password error
'
,
'
uni-id-password-error
'
:
'
Password error
'
,
'
uni-id-password-error-exceed-limit
'
:
'
The number of password errors is excessive
'
,
'
uni-id-invalid-username
'
:
'
Invalid username
'
,
'
uni-id-invalid-password
'
:
'
invalid password
'
,
...
...
@@ -35,7 +35,12 @@ const sentence = {
'
uni-id-set-invite-code-failed
'
:
'
Set invite code failed
'
,
'
uni-id-invalid-invite-code
'
:
'
Invalid invite code
'
,
'
uni-id-change-inviter-forbidden
'
:
'
Change inviter is not allowed
'
,
'
uni-id-bind-conflict
'
:
'
This account has been bound
'
'
uni-id-bind-conflict
'
:
'
This account has been bound
'
,
'
uni-id-admin-exist-in-other-apps
'
:
'
Administrator is registered in other consoles
'
,
'
uni-id-unbind-failed
'
:
'
Please bind first and then unbind
'
,
'
uni-id-unbind-not-supported
'
:
'
Unbinding is not supported
'
,
'
uni-id-unbind-mobile-not-exists
'
:
'
This is the only way to login at the moment, please bind your phone number and then try to unbind
'
,
'
uni-id-unbind-password-not-exists
'
:
'
Please set a password first
'
}
module
.
exports
=
{
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lang/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lang/zh-hans.js
浏览文件 @
f9398e0c
...
...
@@ -12,7 +12,7 @@ const sentence = {
'
uni-id-account-audit-failed
'
:
'
此账号审核失败
'
,
'
uni-id-account-closed
'
:
'
此账号已注销
'
,
'
uni-id-captcha-required
'
:
'
请输入图形验证码
'
,
'
uni-id-password-error
'
:
'
用户名或密码错误
'
,
'
uni-id-password-error
'
:
'
密码错误
'
,
'
uni-id-password-error-exceed-limit
'
:
'
密码错误次数过多,请稍后再试
'
,
'
uni-id-invalid-username
'
:
'
用户名不合法
'
,
'
uni-id-invalid-password
'
:
'
密码不合法
'
,
...
...
@@ -35,7 +35,12 @@ const sentence = {
'
uni-id-set-invite-code-failed
'
:
'
设置邀请码失败
'
,
'
uni-id-invalid-invite-code
'
:
'
邀请码不可用
'
,
'
uni-id-change-inviter-forbidden
'
:
'
禁止修改邀请人
'
,
'
uni-id-bind-conflict
'
:
'
此账号已被绑定
'
'
uni-id-bind-conflict
'
:
'
此账号已被绑定
'
,
'
uni-id-admin-exist-in-other-apps
'
:
'
超级管理员已在其他控制台注册
'
,
'
uni-id-unbind-failed
'
:
'
请先绑定后再解绑
'
,
'
uni-id-unbind-not-supported
'
:
'
不支持解绑
'
,
'
uni-id-unbind-mobile-not-exists
'
:
'
这是当前唯一登录方式,请绑定手机号后再尝试解绑
'
,
'
uni-id-unbind-password-not-exists
'
:
'
请先设置密码在尝试解绑
'
}
module
.
exports
=
{
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/README.md
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/alipay/account/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/alipay/account/protocols.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/alipay/alipayBase.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/apple/account/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/apple/rsa-public-key-pem.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/qq/account/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/qq/normalize.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/share/create-api.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/weixin/account/index.js
浏览文件 @
f9398e0c
...
...
@@ -86,4 +86,26 @@ module.exports = class Auth {
avatar
}
}
async
getPhoneNumber
(
accessToken
,
code
)
{
const
url
=
`/wxa/business/getuserphonenumber?access_token=
${
accessToken
}
`
const
{
phoneInfo
}
=
await
this
.
_requestWxOpenapi
({
name
:
'
getPhoneNumber
'
,
url
,
data
:
{
code
},
options
:
{
method
:
'
POST
'
,
dataAsQueryString
:
false
,
headers
:
{
'
content-type
'
:
'
application/json
'
}
}
})
return
{
purePhoneNumber
:
phoneInfo
.
purePhoneNumber
}
}
}
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/weixin/normalize.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/weixin/utils.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/account.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/captcha.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/config.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/fission.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/login.js
浏览文件 @
f9398e0c
...
...
@@ -219,7 +219,8 @@ async function postLogin (params = {}) {
user
})
:
{}
)
),
passwordConfirmed
:
!!
user
.
password
}
}
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/logout.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/password.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/qq.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/register.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/relate.js
浏览文件 @
f9398e0c
...
...
@@ -5,8 +5,15 @@ const {
ERROR
}
=
require
(
'
../../common/error
'
)
const
{
userCollection
userCollection
,
dbCmd
,
USER_IDENTIFIER
}
=
require
(
'
../../common/constants
'
)
const
{
getUserIdentifier
}
=
require
(
'
../../lib/utils/account
'
)
const
{
batchFindObjctValue
}
=
require
(
'
../../common/utils
'
)
const
merge
=
require
(
'
lodash.merge
'
)
/**
...
...
@@ -56,7 +63,100 @@ async function postBind ({
}
}
async
function
preUnBind
({
uid
,
unBindAccount
,
logType
})
{
const
notUnBind
=
[
'
username
'
,
'
mobile
'
,
'
email
'
]
const
userIdentifier
=
getUserIdentifier
(
unBindAccount
)
const
condition
=
Object
.
keys
(
userIdentifier
).
reduce
((
res
,
key
)
=>
{
if
(
userIdentifier
[
key
])
{
if
(
notUnBind
.
includes
(
key
))
{
throw
{
errCode
:
ERROR
.
UNBIND_NOT_SUPPORTED
}
}
res
.
push
({
[
key
]:
userIdentifier
[
key
]
})
}
return
res
},
[])
const
currentUnBindAccount
=
Object
.
keys
(
userIdentifier
).
reduce
((
res
,
key
)
=>
{
if
(
userIdentifier
[
key
])
{
res
.
push
(
key
)
}
return
res
},
[])
const
{
data
:
users
}
=
await
userCollection
.
where
(
dbCmd
.
and
(
{
_id
:
uid
},
dbCmd
.
or
(
condition
)
)).
get
()
if
(
users
.
length
<=
0
)
{
await
this
.
middleware
.
uniIdLog
({
data
:
{
user_id
:
uid
},
type
:
logType
,
success
:
false
})
throw
{
errCode
:
ERROR
.
UNBIND_FAIL
}
}
const
[
user
]
=
users
const
otherAccounts
=
batchFindObjctValue
(
user
,
Object
.
keys
(
USER_IDENTIFIER
).
filter
(
key
=>
!
notUnBind
.
includes
(
key
)
&&
!
currentUnBindAccount
.
includes
(
key
)))
let
hasOtherAccountBind
=
false
for
(
const
key
in
otherAccounts
)
{
if
(
otherAccounts
[
key
])
{
hasOtherAccountBind
=
true
break
}
}
// 如果没有其他第三方登录方式
if
(
!
hasOtherAccountBind
)
{
// 存在用户名或者邮箱但是没有设置过没密码就提示设置密码
if
((
user
.
username
||
user
.
email
)
&&
!
user
.
password
)
{
throw
{
errCode
:
ERROR
.
UNBIND_PASSWORD_NOT_EXISTS
}
}
// 账号任何登录方式都没有就优先绑定手机号
if
(
!
user
.
mobile
)
{
throw
{
errCode
:
ERROR
.
UNBIND_MOBILE_NOT_EXISTS
}
}
}
}
async
function
postUnBind
({
uid
,
unBindAccount
,
logType
})
{
await
userCollection
.
doc
(
uid
).
update
(
unBindAccount
)
await
this
.
middleware
.
uniIdLog
({
data
:
{
user_id
:
uid
},
type
:
logType
})
return
{
errCode
:
0
}
}
module
.
exports
=
{
preBind
,
postBind
postBind
,
preUnBind
,
postUnBind
}
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/sms.js
浏览文件 @
f9398e0c
...
...
@@ -45,7 +45,7 @@ async function sendSmsCode ({
action
=
this
.
t
(
'
verify-mobile
'
)
break
}
const
sceneConfig
=
smsConfig
.
scene
||
{}
const
sceneConfig
=
(
smsConfig
.
scene
||
{})[
scene
]
||
{}
if
(
!
templateId
)
{
templateId
=
sceneConfig
.
templateId
}
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/unified-login.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/univerify.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/update-user-info.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/verify-code.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/weixin.js
浏览文件 @
f9398e0c
...
...
@@ -177,10 +177,22 @@ async function getWeixinCache ({
})
}
async
function
getWeixinAccessToken
()
{
const
weixinPlatform
=
getWeixinPlatform
.
call
(
this
)
const
appId
=
this
.
getClientInfo
().
appId
const
cache
=
await
this
.
uniOpenBridge
.
getAccessToken
({
dcloudAppid
:
appId
,
platform
:
'
weixin-
'
+
weixinPlatform
})
return
cache
.
access_token
}
module
.
exports
=
{
decryptWeixinData
,
getWeixinPlatform
,
generateWeixinCache
,
getWeixinCache
,
saveWeixinUserKey
saveWeixinUserKey
,
getWeixinAccessToken
}
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/access-control.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/auth.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/rbac.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/uni-id-log.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/middleware/validate.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/close-account.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/get-account-info.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/account/reset-pwd-by-email.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/admin/add-user.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/admin/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/dev/get-supported-login-type.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/dev/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/fission/accept-invite.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/fission/get-invited-user.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/fission/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/index.js
浏览文件 @
f9398e0c
...
...
@@ -15,5 +15,6 @@ module.exports = {
loginByEmailLink
:
require
(
'
./login-by-email-link
'
),
loginByEmailCode
:
require
(
'
./login-by-email-code
'
),
loginByFacebook
:
require
(
'
./login-by-facebook
'
),
loginByGoogle
:
require
(
'
./login-by-google
'
)
loginByGoogle
:
require
(
'
./login-by-google
'
),
loginByWeixinMobile
:
require
(
'
./login-by-weixin-mobile
'
)
}
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-alipay.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-apple.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-baidu.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-dingtalk.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-douyin.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-email-code.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-email-link.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-facebook.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-google.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-qq.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-taobao.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-toutiao.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-univerify.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-weibo.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-weixin-mobile.js
0 → 100644
浏览文件 @
f9398e0c
此差异已折叠。
点击以展开。
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login-by-weixin.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/login/login.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/logout/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/logout/logout.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/authorize-app-login.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/remove-authorized-app.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/set-authorized-app.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/multi-end/utils.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/register/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/register/register-admin.js
浏览文件 @
f9398e0c
此差异已折叠。
点击以展开。
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/register/register-user-by-email.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-alipay.js
浏览文件 @
f9398e0c
此差异已折叠。
点击以展开。
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-apple.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-mobile-by-mp-weixin.js
浏览文件 @
f9398e0c
此差异已折叠。
点击以展开。
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-mobile-by-univerify.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-qq.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/bind-weixin.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/index.js
浏览文件 @
f9398e0c
此差异已折叠。
点击以展开。
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/unbind-alipay.js
0 → 100644
浏览文件 @
f9398e0c
此差异已折叠。
点击以展开。
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/unbind-apple.js
0 → 100644
浏览文件 @
f9398e0c
此差异已折叠。
点击以展开。
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/unbind-qq.js
0 → 100644
浏览文件 @
f9398e0c
此差异已折叠。
点击以展开。
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/relate/unbind-weixin.js
0 → 100644
浏览文件 @
f9398e0c
此差异已折叠。
点击以展开。
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/utils/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/utils/refresh-token.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/utils/set-push-cid.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/create-captcha.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/index.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/refresh-captcha.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/send-email-code.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/send-email-link.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/send-sms-code.js
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
浏览文件 @
f9398e0c
此差异已折叠。
点击以展开。
uni_modules/uni-id-pages/uniCloud/database/opendb-device.schema.json
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/database/uni-id-device.schema.json
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/database/uni-id-log.schema.json
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/database/uni-id-permissions.schema.json
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/database/uni-id-roles.schema.json
浏览文件 @
f9398e0c
uni_modules/uni-id-pages/uniCloud/database/uni-id-users.schema.json
浏览文件 @
f9398e0c
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录