Commit 670d7c94beae93ceb22cc7e135e4170c2ee59a6c

Authored by YangShuai
1 parent f2515333

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

config.gradle
@@ -21,7 +21,7 @@ ext { @@ -21,7 +21,7 @@ ext {
21 //编译方式 21 //编译方式
22 debug : false, 22 debug : false,
23 //版本号 23 //版本号
24 - version: "1.1.3", 24 + version: "1.1.4",
25 //Lib库前缀 25 //Lib库前缀
26 packeg : "com.cnlive.module", 26 packeg : "com.cnlive.module",
27 //Lib库名称 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,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 }