收藏
回答

调用wx.openBusinessView确认收货组件提示“获取用户订单失败”?

const { orderObject } = this.data;
      //拉起确认收货组件
      if (wx.openBusinessView) {
        wx.openBusinessView({
          businessType: 'weappOrderConfirm',
          extraData: {
            merchant_id: '1800008281',
            merchant_trade_no: orderObject.order_id,
            transaction_id: orderObject.transactionId
          },
          success(e) {
            console.log(e);
            //dosomething
          },
          fail(e) {
            console.log(e);
            //dosomething
          },
          complete() {
            //dosomething
          }
        });
      } else {
        //引导用户升级微信版本
      }


确认收货提示“获取用户订单失败”?


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

1 个回答

登录 后发表内容