app跳转小程序,每次跳转 都是正在连接后 回到App。如何解决求解?
WXLaunchMiniProgramReq *launchMini = [WXLaunchMiniProgramReq object]; launchMini.userName = model.wechat_applet.original_id; launchMini.path = path;//model.wechat_applet.path; //WXMiniProgramTypeRelease:正式版 //WXMiniProgramTypePreview:体验版 //WXMiniProgramTypeTest:开发版 if (model.wechat_applet.is_pro == false) { launchMini.miniProgramType = WXMiniProgramTypePreview; }else{ launchMini.miniProgramType = WXMiniProgramTypeRelease; } [WXApi sendReq:launchMini completion:^(BOOL success) { if (success) { NSLog(@"成功唤醒小程序"); } else { NSLog(@"唤醒小程序失败"); } }];