Commit f2515333411c571320e3fb3e6fd9f5194921868c

Authored by YangShuai
1 parent 735f1095

1 修改大众体育线上赛事分享参数

config.gradle
... ... @@ -21,7 +21,7 @@ ext {
21 21 //编译方式
22 22 debug : false,
23 23 //版本号
24   - version: "1.1.2",
  24 + version: "1.1.3",
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,7 +146,7 @@ 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;
  149 + String shareUrl = AppConfig.isDebug() ? SHARE_DEBUG_URL : SHARE_REL_URL+"?eventId="+CommonInfo.getStreetId(getContext())+"&channelName="+runRaceDetailInfo.getChannelName();
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;
... ... @@ -479,10 +479,10 @@ public class RunRaceDetailFragmentView implements MvpView, SensorEventListener {
479 479 if (runRaceDetailInfo.isIndividualAchievement()) {
480 480 //显示
481 481 fragment.binding.includePersonScore.llPersonScoreRoot.setVisibility(View.VISIBLE);
482   - //设置完成人数
483   - if (!TextUtils.isEmpty(runRaceDetailInfo.getFinishNum())) {
484   - fragment.binding.includeRank.tvFinishPerson.setText(runRaceDetailInfo.getFinishNum());
485   - }
  482 +// //设置完成人数
  483 +// if (!TextUtils.isEmpty(runRaceDetailInfo.getFinishNum())) {
  484 +// fragment.binding.includeRank.tvFinishPerson.setText(runRaceDetailInfo.getFinishNum());
  485 +// }
486 486 //设置个人行走距离
487 487 if (!TextUtils.isEmpty(runRaceDetailInfo.getUserMileage())) {
488 488 fragment.binding.includePersonScore.tvUserDistance.setText(runRaceDetailInfo.getUserMileage());
... ...
moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/net/bean/RunRaceDetailInfo.java
... ... @@ -50,6 +50,7 @@ public class RunRaceDetailInfo implements Serializable {
50 50 * title : 2018国际网络徒步大赛黄金海岸站
51 51 * userMileage : 5.5
52 52 */
  53 + private String channelName;
53 54  
54 55 private String address;
55 56 private String fenceId;
... ... @@ -95,6 +96,14 @@ public class RunRaceDetailInfo implements Serializable {
95 96 private String e_subtitle;
96 97 private String newDescription;
97 98  
  99 + public String getChannelName() {
  100 + return channelName;
  101 + }
  102 +
  103 + public void setChannelName(String channelName) {
  104 + this.channelName = channelName;
  105 + }
  106 +
98 107 public String getE_subtitle() {
99 108 return e_subtitle;
100 109 }
... ...