修复在直播间内跳转自己的直播间问题
This commit is contained in:
parent
9b301eba25
commit
fed6289f67
@ -0,0 +1,28 @@
|
|||||||
|
package com.yunbao.common.bean;
|
||||||
|
|
||||||
|
import com.google.gson.annotations.SerializedName;
|
||||||
|
|
||||||
|
public class SudgameCodeModel extends BaseModel {
|
||||||
|
@SerializedName("code")
|
||||||
|
private String code;
|
||||||
|
@SerializedName("expireDate")
|
||||||
|
private long expireDate;
|
||||||
|
|
||||||
|
public String getCode() {
|
||||||
|
return code;
|
||||||
|
}
|
||||||
|
|
||||||
|
public SudgameCodeModel setCode(String code) {
|
||||||
|
this.code = code;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public long getExpireDate() {
|
||||||
|
return expireDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public SudgameCodeModel setExpireDate(long expireDate) {
|
||||||
|
this.expireDate = expireDate;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}
|
@ -53,6 +53,7 @@ import com.yunbao.common.bean.SearchModel;
|
|||||||
import com.yunbao.common.bean.SetAttentsModel;
|
import com.yunbao.common.bean.SetAttentsModel;
|
||||||
import com.yunbao.common.bean.SlideInBannerModel;
|
import com.yunbao.common.bean.SlideInBannerModel;
|
||||||
import com.yunbao.common.bean.StarChallengeStatusModel;
|
import com.yunbao.common.bean.StarChallengeStatusModel;
|
||||||
|
import com.yunbao.common.bean.SudgameCodeModel;
|
||||||
import com.yunbao.common.bean.UserAreaBean;
|
import com.yunbao.common.bean.UserAreaBean;
|
||||||
import com.yunbao.common.bean.UserAvatarSelectBean;
|
import com.yunbao.common.bean.UserAvatarSelectBean;
|
||||||
import com.yunbao.common.bean.VipModel;
|
import com.yunbao.common.bean.VipModel;
|
||||||
@ -969,5 +970,12 @@ public interface PDLiveApi {
|
|||||||
@GET("/api/public/?service=gift.getGiftNamingInfo")
|
@GET("/api/public/?service=gift.getGiftNamingInfo")
|
||||||
Observable<ResponseModel<GiftNamingInfoModel>> getGiftNamingInfo(@Query("gift_id") String giftId);
|
Observable<ResponseModel<GiftNamingInfoModel>> getGiftNamingInfo(@Query("gift_id") String giftId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取游戏code
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@GET("/api/public/?service=Sudgame.getCode")
|
||||||
|
Observable<ResponseModel<List<SudgameCodeModel>>> getCode();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user