publicvoidonResp(BaseRespresp){if(resp.getType()==ConstantsAPI.COMMAND_LAUNCH_WX_MINIPROGRAM){WXLaunchMiniProgram.ResplaunchMiniProResp=(WXLaunchMiniProgram.Resp)resp;StringextraData=launchMiniProResp.extMsg;//对应小程序组件buttonopen-type="launchApp"中的app-parameter属性}else{super.onResp(resp);//一定要加super,实现我们的方法,否则不能回调重重重要关键在于这一句}}

TAG标签: 微信小程序微信分享取消小程序小程序分享

http://www.xiaochengxub.com/read-98234.html