收藏
回答

小程序分享二维码?

我的小程序生成的时候有的链接生成的二维码图片是好的,有的链接生成的二维码就是这样裂开的,这个是什么原因造成的?

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

1 个回答

  • 灵芝
    灵芝
    2020-01-09

    你好,是什么方式生成的二维码?出现这种情况的概率有多大?

    2020-01-09
    有用
    回复 3
    • 冯明月
      冯明月
      2020-01-09
      通过调用https://api.weixin.qq.com/wxa/getwxacodeunlimit这个借口生成的,概率不小  十来张里面会有一两张是这样的
      2020-01-09
      回复
    • 灵芝
      灵芝
      2020-01-09回复冯明月
      提供一下APPID、完整的请求、具体的返回、具体的操作时间
      2020-01-09
      回复
    • 冯明月
      冯明月
      2020-01-09回复灵芝
      appid:wx45a58dabdfae2047
      请求:this.$getJson('/api/v2/vue/sqPlus/common/getQrcode.jsp', {
           data: JSON.stringify({
            page: "pages/businessCard/businessCard",
            scene: this.companyId + "&" + this.userId + "&3",
           })
          }, 'POST', res => {
           this.qrcodePaths[0] = this.ctx + res.data
           console.log("res-+---------------------------", res)
           console.log(this.qrcodePaths[0])
           this.posterShow = !this.posterShow;
          });
      返回结果:/upload/temp/qrcode/eeff3ba33b17c3613377158ff750f0a3.png
      操作时间是2020.1.9 15:10
      2020-01-09
      回复
登录 后发表内容
问题标签