修复测试反馈内容
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) {
|
||||
|
||||
@@ -1541,7 +1541,7 @@
|
||||
<string name="dialog_gift_wall_assistance_star">助力值</string>
|
||||
<string name="dialog_gift_wall_time_now">本期展館時間:</string>
|
||||
<string name="dialog_gift_wall_time_old">上期展館時間:</string>
|
||||
<string name="live_end_view_ban_title">您由於【%s】 違規被中斷直播</string>
|
||||
<string name="live_end_view_ban_title">您由於違規被中斷直播</string>
|
||||
<string name="live_end_view_ban_reason">違規原因:</string>
|
||||
<string name="live_end_view_ban_content">處罰內容:</string>
|
||||
<string name="live_end_view_ban_timer">處罰時間:</string>
|
||||
|
||||
@@ -1550,7 +1550,7 @@
|
||||
|
||||
<string name="sub_admission_fee">*10% of the threshold will be charged as ticket</string>
|
||||
|
||||
<string name="live_end_view_ban_title">You were interrupted from the live broadcast due to violation of [%s]. </string>
|
||||
<string name="live_end_view_ban_title">You were interrupted from the live broadcast due to violation of regulations. </string>
|
||||
<string name="live_end_view_ban_reason">Violation reasons:</string>
|
||||
<string name="live_end_view_ban_content">Penalty content:</string>
|
||||
<string name="live_end_view_ban_timer">Penalty time:</string>
|
||||
|
||||
Reference in New Issue
Block a user