欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

微信 jssdk例子

shiping1 的头像
http://mp.weixin.qq.com/wiki/11/74ad127cc054f6b80759c40f77ec03db.html#.E8.8E.B7.E5.8F.96.E2.80.9C.E5...
在 html中 
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script>
          wx.config({
 debug: false,
 appId: 'wxf0aa771200846ebf',
 timestamp: "1458631845",
 nonceStr: 'DvhQPdMfFyUI7kPB',
 signature: 'b7d177e77b8cf880a763bbed6c559282b11915b5',
 jsApiList: [
'onMenuShareTimeline',
'onMenuShareAppMessage'
 ]
 });
          wx.ready(function () {
 
 var shareData64 = {
title: '萬鑫精工(湖南)有限公司 萬鑫精工(湖南)有限',
desc: '萬鑫精工 源自德國科技,專注世界動力ddddddddddddddddddddddddd',
link: PREFIX_URL+'v-U70321Q99753',
imgUrl:  PREFIX_FILE_HOST  +'pic/39/201603/56efe84520d18.png'
 };
 wx.onMenuShareAppMessage(shareData64);
 wx.onMenuShareTimeline(shareData64);
 
          });
 
 
wx.error(function (res) {
//alert(res.errMsg);
});
        </script>
普通分类: