修复测试反馈内容
This commit is contained in:
@@ -151,6 +151,7 @@ public class Constants {
|
||||
public static final String SOCKET_LIVE_DRPK_RANDOM = "LiveRandomPK";//随机PK
|
||||
public static final String SOCKET_LEAVE_ROOM = "disconnect";//用户离开房间
|
||||
public static final String SOCKET_LIVE_END = "StartEndLive";//主播关闭直播
|
||||
public static final String SOCKET_LIVE_END_CLOSE = "StartEndLiveClose";//主播关闭直播
|
||||
public static final String SOCKET_SYSTEM = "SystemNot";//系统消息
|
||||
public static final String UP_USER_LIST = "upuserlist";//更新用戶列表
|
||||
public static final String LIAN_MAI = "LivePKDRLM";//用户连麦
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.yunbao.common.bean;
|
||||
|
||||
public class BanDownLiveEvent extends BaseModel{
|
||||
private String reason,reasonContent,content,timer;
|
||||
|
||||
public BanDownLiveEvent() {
|
||||
}
|
||||
|
||||
public BanDownLiveEvent(String reason, String reasonContent, String content, String timer) {
|
||||
this.reason = reason;
|
||||
this.reasonContent = reasonContent;
|
||||
this.content = content;
|
||||
this.timer = timer;
|
||||
}
|
||||
|
||||
public String getReason() {
|
||||
return reason;
|
||||
}
|
||||
|
||||
public void setReason(String reason) {
|
||||
this.reason = reason;
|
||||
}
|
||||
|
||||
public String getReasonContent() {
|
||||
return reasonContent;
|
||||
}
|
||||
|
||||
public void setReasonContent(String reasonContent) {
|
||||
this.reasonContent = reasonContent;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public String getTimer() {
|
||||
return timer;
|
||||
}
|
||||
|
||||
public void setTimer(String timer) {
|
||||
this.timer = timer;
|
||||
}
|
||||
}
|
||||
@@ -125,11 +125,17 @@ public class OrderLevelPopupWindow extends CenterPopupView {
|
||||
ViewClicksAntiShake.clicksAntiShake(findViewById(R.id.buying_experience), new ViewClicksAntiShake.ViewClicksCallBack() {
|
||||
@Override
|
||||
public void onViewClicks() {
|
||||
if(StringUtil.isEmpty(orderLevel.getText().toString())||"0".equals(orderLevel.getText().toString())){
|
||||
ToastUtil.show(WordUtil.isNewZh()?"输入数字不可为0":"The input number cannot be 0");
|
||||
int input = 0;
|
||||
try {
|
||||
input = Integer.parseInt(orderLevel.getText().toString());
|
||||
} catch (Exception e) {
|
||||
input = 0;
|
||||
}
|
||||
if (StringUtil.isEmpty(orderLevel.getText().toString()) || input == 0) {
|
||||
ToastUtil.show(WordUtil.isNewZh() ? "輸入数字不可為0" : "The input number cannot be 0");
|
||||
return;
|
||||
}
|
||||
if (Integer.parseInt(orderLevel.getText().toString()+"00") <= maxExp) {
|
||||
if (Integer.parseInt(orderLevel.getText().toString() + "00") <= maxExp) {
|
||||
LiveNetManager.get(getContext()).buyingExperiencePoint(buyExp + "00", new HttpCallback<ResponseModel<Object>>() {
|
||||
@Override
|
||||
public void onSuccess(ResponseModel<Object> data) {
|
||||
|
||||
Reference in New Issue
Block a user