新人特惠补充URL问号判断

This commit is contained in:
zlzw 2022-10-12 09:55:48 +08:00
parent c118a7c999
commit 20916313dd

View File

@ -363,7 +363,7 @@ public class LiveAudienceViewHolder extends AbsLiveViewHolder {
return; return;
} }
Bundle bundle = new Bundle(); Bundle bundle = new Bundle();
String url = newPeopleUrl + "&g=Appapi&m=Turntable&a=tricky"; String url = newPeopleUrl+ (newPeopleUrl.contains("?")?"&":"?") + "g=Appapi&m=Turntable&a=tricky";
url += "&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" url += "&uid=" + CommonAppConfig.getInstance().getUid() + "&token="
+ CommonAppConfig.getInstance().getToken() + "&anchorUid=" + mLiveUid; + CommonAppConfig.getInstance().getToken() + "&anchorUid=" + mLiveUid;
bundle.putString("url", url); bundle.putString("url", url);