|
@@ -222,6 +222,11 @@ ajax({
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
}
|
|
|
})
|
|
@@ -232,3 +237,57 @@ ajax({
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
+ajax({
|
|
|
+ type:'post',
|
|
|
+ url:'https://api.honglouplus.com/api/h5/vr',
|
|
|
+ data: formData,
|
|
|
+ success:function(msgShareStr){
|
|
|
+ var resShareObj = JSON.parse(msgShareStr)
|
|
|
+ configJsSDKAndDoSomething(resShareObj.jssdk, '南昌各楼盘航拍全景地图(不断更新)', 'https://img.honglounews.com/20230612053506-4632.jpg_adm0', '南昌各区域新房、二手房楼盘进度,微信洪楼Plus小程序查看户型、学区、一房一价、成交价等等更多')
|
|
|
+ }
|
|
|
+})
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+var shareImgUrl = 'https://icon.honglouplus.com/plus.png';
|
|
|
+function configJsSDKAndDoSomething(config, title, imgUrl, desc){
|
|
|
+ wx.config({
|
|
|
+ debug: false,
|
|
|
+ appId: config.appId,
|
|
|
+ timestamp: config.timestamp,
|
|
|
+ nonceStr: config.nonceStr,
|
|
|
+ signature: config.signature,
|
|
|
+ jsApiList: config.jsApiList,
|
|
|
+ openTagList: ['wx-open-launch-weapp'],
|
|
|
+ })
|
|
|
+ wx.error(function(error){
|
|
|
+ console.log(error);
|
|
|
+ });
|
|
|
+ wx.ready(function () {
|
|
|
+ wx.updateAppMessageShareData({
|
|
|
+ title: title,
|
|
|
+ desc: desc,
|
|
|
+ link: location.href,
|
|
|
+ imgUrl: imgUrl,
|
|
|
+ success: function () {
|
|
|
+ console.log("success");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ wx.updateTimelineShareData({
|
|
|
+ title: title,
|
|
|
+ link: location.href,
|
|
|
+ imgUrl: imgUrl,
|
|
|
+ success: function () {
|
|
|
+ console.log("success2");
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ });
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+
|