const cloud = require('wx-server-sdk')
cloud.init()
exports.main = async (event, context) => {
const { imgUrl } = event
return await cloud.openapi.ocr.businessLicense({
imgUrl
})
}
{
"errCode": -404011,
"errMsg": "Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID local_debug_dc343b1d-e51c-49ca-8ebc-dcf186096932, cloud function service error code -1, error message errCode: -604102 call open API timeout | errMsg: system error: error code: -604102; at cloud.callFunction api; "
}
之前都正常,现在调用接口报-604102的错,什么都没改
你好,现在应该可以正常调用了吧