云函数wx.cloud.callFunction时,为什么返回值没有自己自定义的内容?

小程序 文章 2021-12-21 22:20 685 0 全屏看文

AI助手支持GPT4.0

云函数wx.cloud.callFunction时,为什么返回值没有自己自定义的内容?Why does the return value of the cloud function wx.cloud.callFunction have no self-defined content?

云函数wx.cloud.callFunction时,为什么返回值没有自己自定义的内容?

在调用时,传上去的数据

云函数的return

但是接受回来的结果却没有自定义返回的内容


就是云函数里return为空时,返回值也是这个,不知道是哪里的问题,求解释一下,或许某个步骤我理解有问题

During the call, the returned data of the cloud function is returned, but the received result is not customized. The returned content is the same when the return in the cloud function is empty. I don't know where the problem is. Please explain. Maybe there is a problem in one step

回答:

Mr.Zhao:没更新,云函数返回值确实是demo的
Larry:

云函数没有更新吧,返回值看起来是DEMO的

Scumbag idiot:是更新的,我还专门看了一下更新的时间
老张:

云函数里打断点,看日志。

Scumbag idiot:这个我不太会诶
老张:研究一下云控制台,查看云函数日志

-EOF-

AI助手支持GPT4.0