const randomFileName = Date.now() + Math.random().toString(36).substring(2);
const filePath = `images/${randomFileName}`;
try {
await cloud.uploadFile({
cloudPath: filePath,
fileContent: Buffer.from(base64Image, 'base64')
});
base64Image为base64数据