Commit 737c2bf5316bc100c6af15d2aa11b4c459b5f107

Authored by taiyuan
2 parents 046513c4 93ca5c87

Merge branch 'dev' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev

Showing 1 changed file with 9 additions and 1 deletions
pages/index/index/index.js
... ... @@ -582,7 +582,15 @@ Page({
582 582 url: "/pages/goods/search/search"
583 583 });
584 584 },
585   - onShareAppMessage: function(e) {
  585 + onShareAppMessage: function(e) {
  586 + var url="/pages/index/index/index";
  587 + if(getApp().globalData.user_id){
  588 + url+="&first_leader="+getApp().globalData.user_id;
  589 + }
  590 + var ob={
  591 + title: getApp().globalData.config.store_name,,
  592 + path:url,
  593 + };
586 594 return o.share;
587 595 },
588 596  
... ...