收藏
回答

说云函数执行错误?login和update都部署了

Uncaught (in promise) Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID 23e240a4-3dce-11eb-a6af-5254008cccea, cloud function service error code -504002, error message ReferenceError: wxContext is not defined

    at Runtime.exports.main [as handler] (:58006/var/user/index.js:30)

    at Runtime.handleOnce (:58006/var/runtime/node10/Runtime.engine.js:214)

    at Timeout.setTimeout [as _onTimeout] (:58006/var/runtime/node10/Runtime.engine.js:54)

    at ontimeout (:58006/appservice/timers.js:436)

    at tryOnTimeout (:58006/appservice/timers.js:300)

    at listOnTimeout (:58006/appservice/timers.js:263)

    at Timer.processTimers (:58006/appservice/timers.js:223); at cloud.callFunction api; 

    at new u (WAService.js:1)

    at d (WAService.js:1)

    at f (WAService.js:1)

    at Function.success (WAService.js:1)

    at WAService.js:1

    at C (WAService.js:1)

    at i.<anonymous> (WAService.js:1)

    at i.emit (WAService.js:1)

    at Ws (WAService.js:1)

    at WAService.js:1

回答关注问题邀请回答
收藏

1 个回答

  • 疯狂的小辣椒
    疯狂的小辣椒
    2020-12-14

    你好,建议检查下代码

    2020-12-14
    有用
    回复 1
    • Livewell
      Livewell
      发表于移动端
      2020-12-14
      引号写错了,😂
      2020-12-14
      回复
登录 后发表内容
问题标签