Commit 670d7c94beae93ceb22cc7e135e4170c2ee59a6c
1 parent
f2515333
1 修改大众体育线上赛事分享参数添加逻辑
Showing
2 changed files
with
3 additions
and
2 deletions
config.gradle
moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/frame/view/RunRaceDetailFragmentView.java
| @@ -146,12 +146,13 @@ public class RunRaceDetailFragmentView implements MvpView, SensorEventListener { | @@ -146,12 +146,13 @@ public class RunRaceDetailFragmentView implements MvpView, SensorEventListener { | ||
| 146 | CNLiveShareService shareService = OpenServiceHelpUtil.getShareService(getContext()); | 146 | CNLiveShareService shareService = OpenServiceHelpUtil.getShareService(getContext()); |
| 147 | if (null != shareService && null != runRaceDetailInfo) { | 147 | if (null != shareService && null != runRaceDetailInfo) { |
| 148 | String subTitle = "我在网家家上报名了线上赛事 快来和我一起动起来"; | 148 | String subTitle = "我在网家家上报名了线上赛事 快来和我一起动起来"; |
| 149 | - String shareUrl = AppConfig.isDebug() ? SHARE_DEBUG_URL : SHARE_REL_URL+"?eventId="+CommonInfo.getStreetId(getContext())+"&channelName="+runRaceDetailInfo.getChannelName(); | 149 | + String shareUrl = AppConfig.isDebug() ? SHARE_DEBUG_URL : SHARE_REL_URL; |
| 150 | // String shareImgUrl = "http://wjj.ys1.cnliveimg.com/download/app_icon/share/strike_logo_mass_sports.png"; | 150 | // String shareImgUrl = "http://wjj.ys1.cnliveimg.com/download/app_icon/share/strike_logo_mass_sports.png"; |
| 151 | String shareImgUrl = "http://wjj.ys1.cnliveimg.com/download/app_icon/share/strike_logo_mass_sports_rec.png"; | 151 | String shareImgUrl = "http://wjj.ys1.cnliveimg.com/download/app_icon/share/strike_logo_mass_sports_rec.png"; |
| 152 | boolean isShowWjjLife = true; | 152 | boolean isShowWjjLife = true; |
| 153 | boolean isShowWjjFriend = true; | 153 | boolean isShowWjjFriend = true; |
| 154 | boolean isShowOther = true; | 154 | boolean isShowOther = true; |
| 155 | + shareUrl += "?eventId=" + CommonInfo.getStreetId(getContext()) + "&channelName=" + runRaceDetailInfo.getChannelName(); | ||
| 155 | shareService.shareLink(getContext(), runRaceDetailInfo.getTitle(), subTitle, shareUrl, shareImgUrl, isShowWjjLife, isShowWjjFriend, false); | 156 | shareService.shareLink(getContext(), runRaceDetailInfo.getTitle(), subTitle, shareUrl, shareImgUrl, isShowWjjLife, isShowWjjFriend, false); |
| 156 | } | 157 | } |
| 157 | } | 158 | } |