From 8f0538724f905980946a965bfae4b70b79ddaa13 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Tue, 6 Sep 2022 18:12:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E4=B8=80=E5=A4=84int?= =?UTF-8?q?=E8=BF=87=E9=95=BF=E5=AF=BC=E8=87=B4=E7=9A=84=E9=97=AA=E9=80=80?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/live/views/PortraitLiveManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java index 48403c03d..e5cb21181 100644 --- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java +++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java @@ -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() {