index.html:338 [云函数] [sum] 调用失败: Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID , cloud function service error code -501000, error message Environment not found (callid 1621323799215-0.6886247892248107); at cloud.callFunction api;
你好,这里是指找不到环境,建议按照文档的示例来https://developers.weixin.qq.com/miniprogram/dev/wxcloud/basis/web.html