云函数 循环调用 安全内容接口 security.imgSecCheck超时出错?
for (let index in event.imgBufferList) { //图片数组 let imageResult = await cloud.openapi.security.imgSecCheck({ media: { header: { 'Content-Type' : 'application/octet-stream' }, contentType: 'image/png' , value: Buffer.from(event.imgBufferList[index]) } }) } |
报错: cloud.callFunction:fail timeout for result fetching,result cannot be fetched
一张图片不会报错,两张就会报错