6.5.4礼物冠名
This commit is contained in:
parent
399bedb874
commit
a618bee6b7
@ -281,6 +281,10 @@ public class IMLoginManager extends BaseCacheManager {
|
||||
return userInfo;
|
||||
}
|
||||
|
||||
public void setMedalName(String medalName) {
|
||||
userInfo.setMedalName(medalName);
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断是否已登录
|
||||
*
|
||||
|
@ -277,6 +277,7 @@ public class LiveGiftPopup extends AbsDialogFragment {
|
||||
.append(userInfo.getId())
|
||||
.append("&token=")
|
||||
.append(userInfo.getToken())
|
||||
.append("no_back=1")
|
||||
.append("&for");
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putString("url", htmlUrl.toString());
|
||||
|
@ -99,7 +99,7 @@ public class SocketRyChatUtil {
|
||||
.param("liangname", u.getGoodName())
|
||||
.param("vip_type", u.getVip().getType())
|
||||
.param("guard_type", guardType)
|
||||
.param("medal_name", u.getMedalName())
|
||||
.param("medal_name", model.getMedalName())
|
||||
.param("medal_level", u.getMedalLevel())
|
||||
.param("good_num", u.getGoodnum())
|
||||
.param("ct", content)
|
||||
|
@ -409,7 +409,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
.enterRoomNew(mLiveBean.getStream(), mLiveBean.getUid(), mLiveBean.getCity(), new com.yunbao.common.http.base.HttpCallback<EnterRoomNewModel>() {
|
||||
@Override
|
||||
public void onSuccess(EnterRoomNewModel data) {
|
||||
|
||||
IMLoginManager.get(mContext).getUserInfo().setMedalName(data.getEnterRoomInfo().getMedalName());
|
||||
isEnterRoom = true;
|
||||
if (TextUtils.isEmpty(leaveStream)) {
|
||||
leaveStream = mLiveBean.getStream();
|
||||
|
Loading…
Reference in New Issue
Block a user