云函数调用出问题了,哪位大佬帮看一下
wx.cloud.callFunction({ env: 'shop001', name: 'getdata', data: { action: 'getOne', }, success: res => { console.warn('[云函数] [openapi] getOne.send 调用成功:', res) }, fail: err => { console.error('[云函数] [openapi] templateMessage.send 调用失败:', err) } }) |
云函数调用出问题了
VM48138:1 [云函数] [openapi] templateMessage.send 调用失败: Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail cloud function service error code -504002, error message Function not found: [getdata]; at cloud.callFunction api; |
截图
