提交 839dc01d 编写于 作者: C chenruilong

fix: uni-id-co 修复 实人认证的认证照片在阿里云服务空间没有保存到指定路径下的问题

上级 65aadfd7
## 1.1.19()
- uni-id-co 修复 实人认证的认证照片在阿里云服务空间没有保存到指定路径下的问题
## 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)
......
...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册