Commit 158f9fce3247a0c644d6d93f2b8f3ebc56978ae5
1 parent
418bce06
分享的优化
Showing
2 changed files
with
16 additions
and
0 deletions
packageA/pages/serviceCard_pd/team_show/team_show.js
| ... | ... | @@ -973,6 +973,14 @@ Page({ |
| 973 | 973 | url+="?first_leader="+getApp().globalData.user_id; |
| 974 | 974 | } |
| 975 | 975 | |
| 976 | + if(url.indexOf('goods_id')==-1){ | |
| 977 | + url+="&goods_id="+this.data.goods.id; | |
| 978 | + } | |
| 979 | + | |
| 980 | + if(url.indexOf('tg_id')==-1){ | |
| 981 | + url+="&tg_id="+this.data.teamgroup.id; | |
| 982 | + } | |
| 983 | + | |
| 976 | 984 | return { |
| 977 | 985 | path:url, |
| 978 | 986 | title: "拼团", | ... | ... |
pages/team/team_show/team_show.js
| ... | ... | @@ -982,6 +982,14 @@ Page({ |
| 982 | 982 | url+="?first_leader="+getApp().globalData.user_id; |
| 983 | 983 | } |
| 984 | 984 | |
| 985 | + if(url.indexOf('goods_id')==-1){ | |
| 986 | + url+="&goods_id="+this.data.goods.goods_id; | |
| 987 | + } | |
| 988 | + if(url.indexOf('tg_id')==-1){ | |
| 989 | + url+="&tg_id="+this.data.teamgroup.id; | |
| 990 | + } | |
| 991 | + | |
| 992 | + | |
| 985 | 993 | return { |
| 986 | 994 | path:url, |
| 987 | 995 | title: "商品分类", | ... | ... |