From 2857bb09a2841b9dc4b677126e9acda2d6c2dd0f Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 6 Dec 2023 15:18:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/common/http/live/LiveNetManager.java | 2 +- config.gradle | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java b/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java index 5b0b47582..5716e4c33 100644 --- a/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java +++ b/common/src/main/java/com/yunbao/common/http/live/LiveNetManager.java @@ -2440,7 +2440,7 @@ public class LiveNetManager { @Override public void accept(ResponseModel objectResponseModel) throws Exception { if (callback != null) { - if (objectResponseModel.getData().getCode() == 0) { + if (objectResponseModel.getData().getCode() == 200) { callback.onSuccess("1"); } else if (objectResponseModel.getData().getCode() == 500) { callback.onSuccess("2"); diff --git a/config.gradle b/config.gradle index a841a0df1..d9eb32773 100644 --- a/config.gradle +++ b/config.gradle @@ -9,9 +9,9 @@ ext { ] manifestPlaceholders = [ //正式、 -// serverHost : "https://napi.yaoulive.com", + serverHost : "https://napi.yaoulive.com", // 测试 - serverHost : " https://ceshi.yaoulive.com", +// serverHost : " https://ceshi.yaoulive.com",