1、更换免费礼物赠送接口
2、更换是否有免费礼物判断字段 3、获取举报主播名称接口更换
This commit is contained in:
@@ -12,6 +12,16 @@ public class NewPeopleTaskModel extends BaseModel {
|
||||
private RewardAllModel rewardAll = new RewardAllModel();
|
||||
@SerializedName("reward_one")
|
||||
private RewardAllModel rewardOne = new RewardAllModel();
|
||||
@SerializedName("is_free_gift")
|
||||
private String is_free_gift;
|
||||
|
||||
public String getIs_free_gift() {
|
||||
return is_free_gift;
|
||||
}
|
||||
|
||||
public void setIs_free_gift(String is_free_gift) {
|
||||
this.is_free_gift = is_free_gift;
|
||||
}
|
||||
|
||||
public TaskModel getTask() {
|
||||
return task;
|
||||
|
||||
@@ -291,7 +291,7 @@ public class LiveHttpUtil {
|
||||
* 获取被举报人的名字
|
||||
*/
|
||||
public static void getReportName(int report_id, HttpCallback callback) {
|
||||
HttpClient.getInstance().get("Live.getReportInfo", LiveHttpConsts.GETREPORTINFO)
|
||||
HttpClient.getInstance().get("genjuyonghuidhuoqujubaorennicheng", LiveHttpConsts.GETREPORTINFO)
|
||||
.params("report_id", report_id)
|
||||
.execute(callback);
|
||||
}
|
||||
@@ -622,10 +622,15 @@ public class LiveHttpUtil {
|
||||
* 完成新手任務
|
||||
*/
|
||||
public static void setFrontTask(String type, String liveuid, HttpCallback callback) {
|
||||
HttpClient.getInstance().get("sendFreeGift", "sendFreeGift")
|
||||
.params("liveuid", liveuid)
|
||||
.execute(callback);
|
||||
/*
|
||||
HttpClient.getInstance().get("shezhixinshouyindaozhuangtai", "shezhixinshouyindaozhuangtai")
|
||||
.params("type", type)
|
||||
.params("liveuid", liveuid)
|
||||
.execute(callback);
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user