let miniReq = WXLaunchMiniProgramReq.object()
miniReq.userName = userName
miniReq.path = WechatMiniProgramPath + H5Path.xl.urlAllEncoded
miniReq.miniProgramType = .release
WXApi.send(miniReq) { isOpen in
guard isOpen else {
Toast.showInfo("系统未安装微信")
return
}
}
通过上述代码打开小程序中的一个页面,会偶现一次“由于应用 Universal link 校验不通过”问题,难以复现,但每隔一段时间会有人出现