deleteFile
从云存储空间删除文件
const cloud = require('wx-server-sdk')
exports.main = async (event, context) => {
const fileIDs = ['xxx', 'xxx']
const result = await cloud.deleteFile({
fileList: fileIDs,
})
return result.fileList
}
写的资式如有不对,请各位大神多多指教。 新手上路,车开的 不是很稳
网友评论