diff --git a/config.gradle b/config.gradle index 59ac79f7b..2285dc3eb 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", //腾讯地图 txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB", diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveAnchorSayPopDialog.java b/live/src/main/java/com/yunbao/live/dialog/LiveAnchorSayPopDialog.java index 67006691c..fbe7233b4 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveAnchorSayPopDialog.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveAnchorSayPopDialog.java @@ -150,6 +150,9 @@ public class LiveAnchorSayPopDialog extends AbsDialogPopupWindow { } private void setSayData(String url, String edit) { + if(sayModel==null||sayModel.getLivePreview()==null){ + return; + } LiveNetManager.get(getContext()) .setLivePreviewInfo( mLiveUid,