diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveHDDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveHDDialogFragment.java index 8047fabd9..6fbe15a95 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveHDDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveHDDialogFragment.java @@ -1,6 +1,8 @@ package com.yunbao.live.dialog; +import static com.yunbao.live.views.LiveRoomViewHolder.mLiveUid; + import android.content.DialogInterface; import android.graphics.Color; import android.os.Build; @@ -368,9 +370,10 @@ public class LiveHDDialogFragment extends AbsDialogFragment { UserBean u = CommonAppConfig.getInstance().getUserBean(); String url = CommonAppConfig.HOST + "/h5/Noble/index.html?nickname=" + u.getUserNiceName() + "&usernobId=" + u.getNoble_id() + "&uid=" - + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken()+"&active="+event.getData(); + + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken()+"&active="+event.getData()+ "&anchorUid=" + mLiveUid; ZhuangBanActivity.forward(mContext, url, false); } + } } } diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java index f660a3645..1d5fbd961 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java @@ -199,7 +199,11 @@ public class LiveNewGuardBuyDialogFragment extends AbsDialogFragment implements buyItemsAdapter.notifyDataSetChanged(); if(bundle.getString("by")!=null){ - refreshList(Integer.parseInt(bundle.getString("by"))-1); +// if(bundle.getString("by").equals("1")){ +// refreshList(Integer.parseInt(bundle.getString("by"))); +// }else { + refreshList(Integer.parseInt(bundle.getString("by"))); +// } }else{ refreshList(1); }