我这边全部用的login云函数,今天刚换的新环境是zd-applet,用的就是这个环境的ID,就是一直提示 Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID , cloud function service error code -501000, error message Environment not found, there is no default environment exists, please explicitly specify the environment; at cloud.callFunction api;
看看wx.cloud.init是不是设置了环境
Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID , cloud function service error code -501000, error message Environment not found, there is no default environment exists, please explicitly specify the environment; at cloud.callFunction api;