From bc205ea9e57b4ec326790fbb1f573067ab2720a9 Mon Sep 17 00:00:00 2001 From: Martin <13046765170@163.com> Date: Wed, 16 Oct 2024 10:05:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9Aopeninstall=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E7=9A=84=20admin=5Fid,userid=E4=B8=BAnull=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E6=9B=BF=E6=8D=A2=E6=88=90""=E7=A9=BA=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/main/activity/RegisterActivity.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/main/src/main/java/com/yunbao/main/activity/RegisterActivity.java b/main/src/main/java/com/yunbao/main/activity/RegisterActivity.java index 68340a273..a1402fdbe 100644 --- a/main/src/main/java/com/yunbao/main/activity/RegisterActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/RegisterActivity.java @@ -48,6 +48,7 @@ import com.yunbao.common.manager.imrongcloud.RongcloudIMManager; import com.yunbao.common.utils.DialogUitl; import com.yunbao.common.utils.L; import com.yunbao.common.utils.RouteUtil; +import com.yunbao.common.utils.StringUtil; import com.yunbao.common.utils.ToastUtil; import com.yunbao.common.http.LiveHttpUtil; import com.yunbao.common.utils.LiveRoomCheckLivePresenter; @@ -422,9 +423,14 @@ public class RegisterActivity extends AbsActivity { yqm_view.setVisibility(View.GONE); //推广的码 mPromoCode = data.getString("admin_id") + ""; + if("null".equals(mPromoCode)){ + mPromoCode =""; + } //用户的码 UserID = data.getString("user_id") + ""; - + if("null".equals(UserID)){ + UserID =""; + } agent_code = data.getString("agent_code") + ""; }