问答精选数据流修改

This commit is contained in:
kehaoyuan
2018-04-19 11:13:23 +08:00
parent 2b9f40a976
commit 4e388ec3d7
15 changed files with 237 additions and 42 deletions

View File

@ -58,10 +58,11 @@ public class UserManager {
}
public String getUserId() {
String userId = null;
if (mUserInfoEntity != null) {
return mUserInfoEntity.getUserId();
userId = mUserInfoEntity.getUserId();
}
return "";
return userId == null ? "" : userId;
}
public void setCommunityId(Context context, String communityId, String communityName) {