收藏
回答

急!!!wx.openCard打开错误,code和cardId都传了

code已经解密过了,就是成功不了

wx.openCard({

cardList: [

{

cardId: 'p4bo3t65xc3zSI3nESCmlBChbi0I',

code: res.data.code

}

],

success: function (res) {

console.log(res)

},

fail: function (res) {

console.log(res)

}

})


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

3 个回答

  • 工号 9527
    工号 9527
    2017-09-29

    你好,这是一个已知问题,我们会尽快进行修复。


    请试下真机能不能正确使用。

    2017-09-29
    有用
    回复 1
    • 武少
      武少
      2020-07-10
      我也遇到了这个问题,想问下官方修复好了吗?
      2020-07-10
      回复
  • 止于心
    止于心
    2017-09-29

    在开发者工具上不成功

    {errMsg: "openCard:fail TypeError: Cannot read property 'baseresponse' of undefined"}

    报的这个

    2017-09-29
    有用
    回复
  • 工号 9527
    工号 9527
    2017-09-29

    请问报什么错?

    在工具上不成功还是在真机上不成功?

    2017-09-29
    有用
    回复
登录 后发表内容