心愿单审核和贵族购买

This commit is contained in:
18142669586 2023-04-08 18:21:53 +08:00
parent 6f7a9a9310
commit 6c19f0efc4
2 changed files with 9 additions and 2 deletions

View File

@ -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);
}
}
}
}

View File

@ -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);
}