fix:调整房间公告icon

This commit is contained in:
max
2024-06-28 16:04:32 +08:00
parent b8f73ec0d5
commit f74b744f56
2 changed files with 3 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -14,6 +14,7 @@ import androidx.annotation.Keep;
import com.alibaba.fastjson.JSON;
import com.chwl.core.msg.sys.bean.ErbanSysMsgComponent;
import com.chwl.core.msg.sys.bean.ErbanSysMsgInfo;
import com.chwl.library.utils.json.JsonUtils;
import com.netease.nim.uikit.business.session.viewholder.MsgViewHolderBase;
import com.netease.nim.uikit.common.ui.recyclerview.adapter.BaseMultiItemFetchLoadAdapter;
import com.chwl.app.R;
@@ -62,7 +63,8 @@ public class DynamicSysHolder extends MsgViewHolderBase {
String layout = erbanSysMsgInfo.getLayout();
ErbanSysMsgLayout erbanSysMsgLayout;
try {
erbanSysMsgLayout = JSON.parseObject(layout, ErbanSysMsgLayout.class);
// erbanSysMsgLayout = JSON.parseObject(layout, ErbanSysMsgLayout.class);
erbanSysMsgLayout = JsonUtils.fromJson(layout, ErbanSysMsgLayout.class);
} catch (Exception ex) { // json解析出错
ex.printStackTrace();