Commit 670d7c94beae93ceb22cc7e135e4170c2ee59a6c

Authored by YangShuai
1 parent f2515333

1 修改大众体育线上赛事分享参数添加逻辑

config.gradle
... ... @@ -21,7 +21,7 @@ ext {
21 21 //编译方式
22 22 debug : false,
23 23 //版本号
24   - version: "1.1.3",
  24 + version: "1.1.4",
25 25 //Lib库前缀
26 26 packeg : "com.cnlive.module",
27 27 //Lib库名称
... ...
moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/frame/view/RunRaceDetailFragmentView.java
... ... @@ -146,12 +146,13 @@ public class RunRaceDetailFragmentView implements MvpView, SensorEventListener {
146 146 CNLiveShareService shareService = OpenServiceHelpUtil.getShareService(getContext());
147 147 if (null != shareService && null != runRaceDetailInfo) {
148 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 150 // String shareImgUrl = "http://wjj.ys1.cnliveimg.com/download/app_icon/share/strike_logo_mass_sports.png";
151 151 String shareImgUrl = "http://wjj.ys1.cnliveimg.com/download/app_icon/share/strike_logo_mass_sports_rec.png";
152 152 boolean isShowWjjLife = true;
153 153 boolean isShowWjjFriend = true;
154 154 boolean isShowOther = true;
  155 + shareUrl += "?eventId=" + CommonInfo.getStreetId(getContext()) + "&channelName=" + runRaceDetailInfo.getChannelName();
155 156 shareService.shareLink(getContext(), runRaceDetailInfo.getTitle(), subTitle, shareUrl, shareImgUrl, isShowWjjLife, isShowWjjFriend, false);
156 157 }
157 158 }
... ...