调整礼物包裹UI

This commit is contained in:
2022-10-10 13:44:31 +08:00
parent 06bc518372
commit 1435848f2a
5 changed files with 31 additions and 30 deletions

View File

@@ -237,7 +237,6 @@ public class MainHttpUtil {
if (code == 0 && info.length > 0) {
IMLoginManager.get(CommonAppContext.sInstance.getApplicationContext()).upDataUserInfo(info[0]);
JSONObject obj = JSON.parseObject(info[0]);
SpUtil.setStringValue("userData",info[0]);
UserBean bean = JSON.toJavaObject(obj, UserBean.class);
bean.setMedalName(obj.getString("medal_name"));
bean.setMedalLevel(obj.getIntValue("medal_level"));