机型: vivo/V2242A 和Xiaomi/Mi 10
代码:
WXLaunchMiniProgram.Req req = new WXLaunchMiniProgram.Req();
req.userName = Config.WeiXin_Mini_ID; // 填小程序原始id
req.path = "pages/index/index?payNo=" + payParam.getCustomerId()
+ "&token=" + InfoManager.getInstance().getAccess_token()
+ "&price=" + payParam.getPrice();
//LogUtil.w("HttpRequest", "path:" + req.path);
//req.path = path; //拉起小程序页面的可带参路径,不填默认拉起小程序首页,对于小游戏,可以只传入 query 部分,来实现传参效果,如:传入 "?foo=bar"。
req.miniprogramType = WXLaunchMiniProgram.Req.MINIPTOGRAM_TYPE_RELEASE/*MINIPROGRAM_TYPE_PREVIEW*/;// 可选打开 开发版,体验版和正式版
IWXAPI api = WXEventHelper.newInstance().getWXApi();
if (api != null) {
if (!api.isWXAppInstalled()) {
showToast(R.string.text_no_wx);
return;
}
WXEventHelper.newInstance().registerWXEventHandler(this);//静态常量,跳转支付列表在onDestroy中被回收,需每次注册一次
mPayMethod = "BaoFuWeiXin";
api.sendReq(req);

你好,麻烦截图说明问题