提交 cb055bc5 编写于 作者: 雪洛's avatar 雪洛

Merge branch 'dev'

## 1.1.18(2024-02-20) ## 1.1.18(2024-02-20)
- 修复 PC设置头像无效的问题 - 修复 PC设置头像无效的问题
## 1.1.17(2023-12-14) ## 1.1.17(2023-12-14)
- uni-id-co 移除一键登录、短信的调用凭据 - uni-id-co 移除一键登录、短信的调用凭据
## 1.1.16(2023-10-18) ## 1.1.16(2023-10-18)
- 修复 当不满足一键登录时页面回退无法继续登录的问题 - 修复 当不满足一键登录时页面回退无法继续登录的问题
## 1.1.15(2023-07-13) ## 1.1.15(2023-07-13)
- uni-id-co 修复 QQ登录时不存在头像时报错的问题 - uni-id-co 修复 QQ登录时不存在头像时报错的问题
## 1.1.14(2023-05-19) ## 1.1.14(2023-05-19)
- 修复 退出登录不会跳转至登录页的问题 - 修复 退出登录不会跳转至登录页的问题
## 1.1.13(2023-05-10) ## 1.1.13(2023-05-10)
......
...@@ -109,6 +109,7 @@ module.exports = async function (params) { ...@@ -109,6 +109,7 @@ module.exports = async function (params) {
fileID fileID
} = await uniCloud.uploadFile({ } = await uniCloud.uploadFile({
cloudPath: `user/id-card/${uid}.b64`, cloudPath: `user/id-card/${uid}.b64`,
cloudPathAsRealPath: true,
fileContent: Buffer.from(encryptData.call(this, pictureRes.data.toString('base64'))) fileContent: Buffer.from(encryptData.call(this, pictureRes.data.toString('base64')))
}) })
updateData.realname_auth.in_hand = fileID updateData.realname_auth.in_hand = fileID
......
...@@ -21,12 +21,5 @@ ...@@ -21,12 +21,5 @@
}, },
"cloudfunction-config": { "cloudfunction-config": {
"keepRunningAfterReturn": false "keepRunningAfterReturn": false
},
"devDependencies": {
"eslint": "^8.18.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.3",
"eslint-plugin-promise": "^6.0.0"
} }
} }
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册