提交 c4f44a9c 编写于 作者: A Anne_LXM

同步uni-id-co

上级 cd9fabbc
......@@ -109,6 +109,7 @@ module.exports = async function (params) {
fileID
} = await uniCloud.uploadFile({
cloudPath: `user/id-card/${uid}.b64`,
cloudPathAsRealPath: true,
fileContent: Buffer.from(encryptData.call(this, pictureRes.data.toString('base64')))
})
updateData.realname_auth.in_hand = fileID
......
......@@ -22,4 +22,4 @@
"cloudfunction-config": {
"keepRunningAfterReturn": false
}
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册