添加微信分享功能
diff --git a/src/main/resources/templates/apph5/visitorcode.html b/src/main/resources/templates/apph5/visitorcode.html
index 904d741..2008c31 100644
--- a/src/main/resources/templates/apph5/visitorcode.html
+++ b/src/main/resources/templates/apph5/visitorcode.html
@@ -129,6 +129,25 @@
 	}
 	shareWX.onclick = function(){
 		console.log("shareWX")
+		Wechat.share({
+		    message: {
+		        title: "大理App分享",
+		        description: "访客二维码",
+		        thumb: "www/img/thumbnail.png",
+		        mediaTagName: "TEST-TAG-001",
+		        messageExt: "这是第三方带的测试字段",
+		        messageAction: "<action>dotalist</action>",
+		        media: {
+		                    type: Wechat.Type.WEBPAGE,
+		                    webpageUrl: 'https://yy.dlsmk.cn/wisdompolice/app/getapplyqrcode?visitorid='+ vistorId
+		                }
+		    },
+		    scene: Wechat.Scene.SESSION   // share to Timeline
+		}, function () {
+		    alert("分享成功");
+		}, function (reason) {
+		    alert("Failed: " + reason);
+		});
 	}
 	
 </script>