Commit 9918e76e authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent d5e861ba
......@@ -284,6 +284,12 @@ public class InMoneyVideo {
}
};
/**
* 界面回调处理,此处添加过滤,防止重复调用
*
* @param carrierType
* @return
*/
private boolean isNoReportCarrier(String carrierType) {
List<String> strings = new ArrayList<>();
strings.add(Constant.CARRIERTYPE_REWARD_MINIVEDIO_VEDIO);
......@@ -298,6 +304,12 @@ public class InMoneyVideo {
return strings.contains(carrierType);
}
/**
* 提现红包、元宝 点击跳过不发奖励
*
* @param carrierType
* @return
*/
private boolean isRewardValidForCarrier(String carrierType) {
if (!isRewardValid) {
if (TextUtils.equals(carrierType, Constant.CARRIERTYPE_TASK_YUANBAO) ||
......
......@@ -224,6 +224,12 @@ public class InMoneyVideoNoPre {
}
};
/**
* 界面回调处理,此处添加过滤,防止重复调用
*
* @param carrierType
* @return
*/
private boolean isNoReportCarrier(String carrierType) {
List<String> strings = new ArrayList<>();
strings.add(Constant.CARRIERTYPE_REWARD_MINIVEDIO_VEDIO);
......@@ -237,6 +243,12 @@ public class InMoneyVideoNoPre {
return strings.contains(carrierType);
}
/**
* 提现红包、元宝 点击跳过不发奖励
*
* @param carrierType
* @return
*/
private boolean isRewardValidForCarrier(String carrierType) {
if (!isRewardValid) {
if (TextUtils.equals(carrierType, Constant.CARRIERTYPE_TASK_YUANBAO) ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment