Skip to content

请问这个项目还能用吗? #10

Description

@villainousx

在云函数里找不到对应的选项了

Activity

  1. ikomom commented on Apr 8, 2020

    @ikomom

    可以用

  2. WariorQ commented on Apr 22, 2020

    @WariorQ

    WAService.js:1 Uncaught (in promise) Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID cb77316c-8487-11ea-8af1-5254006266ee, cloud function service error code -504002, error message connect ECONNREFUSED 127.0.0.1:8080
    Error: connect ECONNREFUSED 127.0.0.1:8080
    这是怎么回事

  3. HitSoy commented on May 31, 2020

    @HitSoy

    WAService.js:1 Uncaught (in promise) Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID cb77316c-8487-11ea-8af1-5254006266ee, cloud function service error code -504002, error message connect ECONNREFUSED 127.0.0.1:8080
    Error: connect ECONNREFUSED 127.0.0.1:8080
    这是怎么回事

    还可以用,出现的问题-404011是云函数请求超时了。请确认你请求的链接是否能够打开,如果能够打开,那请在云函数的版本管理里面点击配置然后修改超时时间15秒左右。

  4. MakerGYT commented on Jun 20, 2020

    @MakerGYT

    可以用,在想调用api又没有备案https时解决了大问题,感谢开源.需要注意:

    • 回调的res需要对JSON.parse(res.data)
    • header里userAgent最好改为User-Agent

    分享

    • 小程序:源创智造
    • 类型:工具箱、博客(hexo)

    微信搜索小程序源创智造
    预览
    算法预览

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions