java+js-sdk分享朋友圈、好友完整例子

上传者: u013661953 | 上传时间: 2019-12-21 21:28:40 | 文件大小: 17.06MB | 文件类型: zip
page1.html例子完整,只看page1.html即可。
需要修改的地方:ajax请求地址../sy/initWXJSInterface我是用nginx转发的,修改为你自己的路径即可。其他不需要修改
注意:获取token、ticket.....不能跨域请求,只能在服务器发起请求

文件下载

资源详情

[{"title":"( 63 个子文件 17.06MB ) java+js-sdk分享朋友圈、好友完整例子","children":[{"title":"wxsharedemo20181015","children":[{"title":".project <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"resources","children":null,"spread":false},{"title":"java","children":null,"spread":false}],"spread":true},{"title":"main","children":[{"title":"webapp","children":[{"title":"WEB-INF","children":[{"title":"pages","children":null,"spread":false},{"title":"web.xml <span style='color:#111;'> 38B </span>","children":null,"spread":false}],"spread":true},{"title":"index.jsp <span style='color:#111;'> 909B </span>","children":null,"spread":false},{"title":"page1.jsp <span style='color:#111;'> 4.80KB </span>","children":null,"spread":false},{"title":"js","children":[{"title":"jquery-3.2.1.js <span style='color:#111;'> 84.63KB </span>","children":null,"spread":false}],"spread":true},{"title":"page2.jsp <span style='color:#111;'> 4.66KB </span>","children":null,"spread":false}],"spread":true},{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 474B </span>","children":null,"spread":false},{"title":"templates","children":[{"title":"index.html <span style='color:#111;'> 636B </span>","children":null,"spread":false},{"title":"index.jsp <span style='color:#111;'> 909B </span>","children":null,"spread":false},{"title":"page1.jsp <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"page2.html <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"jquery-3.2.1.js <span style='color:#111;'> 84.63KB </span>","children":null,"spread":false},{"title":"page2.jsp <span style='color:#111;'> 4.67KB </span>","children":null,"spread":false},{"title":"page1.html <span style='color:#111;'> 4.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"static","children":[{"title":"js","children":[{"title":"jquery-3.2.1.js <span style='color:#111;'> 84.63KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"cn","children":[{"title":"shrmus","children":[{"title":"wxshare","children":[{"title":"init","children":[{"title":"InitParameters.java <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"pojo","children":[{"title":"JsApiTicket.java <span style='color:#111;'> 666B </span>","children":null,"spread":false},{"title":"AccessToken.java <span style='color:#111;'> 706B </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"ServletContextUtil.java <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"MyX509TrustManager.java <span style='color:#111;'> 672B </span>","children":null,"spread":false},{"title":"CommonUtil.java <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"thread","children":[{"title":"JsApiTicketThread.java <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"AccessTokenThread.java <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false}],"spread":false},{"title":"controller","children":[{"title":"PagesController.java <span style='color:#111;'> 502B </span>","children":null,"spread":false},{"title":"InitAccessTokenController.java <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false}],"spread":false},{"title":"Main.java <span style='color:#111;'> 293B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"target","children":[{"title":"wxsharedemo20181015-0.0.1-SNAPSHOT.jar <span style='color:#111;'> 18.51MB </span>","children":null,"spread":false},{"title":"maven-status","children":[{"title":"maven-compiler-plugin","children":[{"title":"testCompile","children":[{"title":"default-testCompile","children":[{"title":"inputFiles.lst <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"compile","children":[{"title":"default-compile","children":[{"title":"createdFiles.lst <span style='color:#111;'> 504B </span>","children":null,"spread":false},{"title":"inputFiles.lst <span style='color:#111;'> 955B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"cn","children":[{"title":"shrmus","children":[{"title":"wxshare","children":[{"title":"init","children":[{"title":"InitParameters.class <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"pojo","children":[{"title":"AccessToken.class <span style='color:#111;'> 862B </span>","children":null,"spread":false},{"title":"JsApiTicket.class <span style='color:#111;'> 847B </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"ServletContextUtil.class <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"CommonUtil.class <span style='color:#111;'> 5.29KB </span>","children":null,"spread":false},{"title":"MyX509TrustManager.class <span style='color:#111;'> 950B </span>","children":null,"spread":false}],"spread":true},{"title":"Main.class <span style='color:#111;'> 702B </span>","children":null,"spread":false},{"title":"thread","children":[{"title":"JsApiTicketThread.class <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"AccessTokenThread.class <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false}],"spread":false},{"title":"controller","children":[{"title":"InitAccessTokenController.class <span style='color:#111;'> 4.31KB </span>","children":null,"spread":false},{"title":"PagesController.class <span style='color:#111;'> 620B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"application.properties <span style='color:#111;'> 516B </span>","children":null,"spread":false},{"title":"templates","children":[{"title":"index.html <span style='color:#111;'> 636B </span>","children":null,"spread":false},{"title":"index.jsp <span style='color:#111;'> 909B </span>","children":null,"spread":false},{"title":"page1.jsp <span style='color:#111;'> 4.81KB </span>","children":null,"spread":false},{"title":"page2.html <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"jquery-3.2.1.js <span style='color:#111;'> 84.63KB </span>","children":null,"spread":false},{"title":"page2.jsp <span style='color:#111;'> 4.67KB </span>","children":null,"spread":false},{"title":"page1.html <span style='color:#111;'> 4.90KB </span>","children":null,"spread":false}],"spread":true},{"title":"static","children":[{"title":"js","children":[{"title":"jquery-3.2.1.js <span style='color:#111;'> 84.63KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"wxsharedemo20181015-0.0.1-SNAPSHOT.jar.original <span style='color:#111;'> 85.53KB </span>","children":null,"spread":false},{"title":"maven-archiver","children":[{"title":"pom.properties <span style='color:#111;'> 107B </span>","children":null,"spread":false}],"spread":true},{"title":"test-classes","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 252B </span>","children":null,"spread":false},{"title":"org.eclipse.m2e.core.prefs <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 543B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.validation.prefs <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 191B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 639B </span>","children":null,"spread":false}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 希望对你有帮助 :
    不行啊这个
    2019-12-27

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明