wx.cloud.callFunction({
name: 'getarid',
data: {
id:'63605076623c2b6d016ec92871cac8de'
},
success: (res) => {
console.log(res)
},
fail: (res) => {
console.log(res)
},
})
Error: cloud.callFunction:fail Error: errCode: -504002
functions execute fail | errMsg: response size exceeded 1048576 bytes
(callId: 1648113400746-0.19779216940999356)
(trace: 17:16:40 start->17:16:42
system error
(Error: errCode: -504002 functions execute fail | errMsg: response size exceeded 1048576 bytes), abort)
不要用云函数就可以了
过大报错,你就减小呗,content不要过大,存的时候限制长度