注冊
[WXApi registerApp:@"wxID"];
跳轉小程序
WXLaunchMiniProgramReq *launchMiniProgramReq = [WXLaunchMiniProgramReq object];
launchMiniProgramReq.userName= 小程序ID;
launchMiniProgramReq.path= 小程序頁面路徑;
launchMiniProgramReq.miniProgramType= 1;//拉起小程序的類型
[WXApisendReq:launchMiniProgramReq];