fix:修复一处int过长导致的闪退问题

This commit is contained in:
zlzw 2022-09-06 18:12:29 +08:00
parent 927e95383a
commit 8f0538724f

View File

@ -1061,7 +1061,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
});
//观看1分钟
if (obj.getIntValue("see_time") >= 60) {
if (obj.getLongValue("see_time") >= 60) {
AdjustEvent good_user = new AdjustEvent("7zxuxz");
Adjust.trackEvent(good_user);
CommonHttpUtil.setAdvertisingChannels("7zxuxz", new HttpCallback() {
@ -1074,7 +1074,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
}
});
}
if (obj.getIntValue("see_time") >= 600 && obj.getIntValue("un_charge") == 1) {
if (obj.getLongValue("see_time") >= 600 && obj.getIntValue("un_charge") == 1) {
AdjustEvent good_user = new AdjustEvent("val8lv");
Adjust.trackEvent(good_user);
CommonHttpUtil.setAdvertisingChannels("val8lv", new HttpCallback() {
@ -1088,7 +1088,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
});
//有效用户
} else if (obj.getIntValue("see_time") >= 600) {
} else if (obj.getLongValue("see_time") >= 600) {
AdjustEvent valid_user = new AdjustEvent("xuf8ep");
Adjust.trackEvent(valid_user);
CommonHttpUtil.setAdvertisingChannels("xuf8ep", new HttpCallback() {