Commit 36a4c852 by 墨竹

fix:素材返回bug修改

(cherry picked from commit b3756429)
parent dff5cd59
......@@ -310,8 +310,11 @@ public class MaterialApiServiceImpl implements MaterialApiService {
(a, b) -> a
));
result.forEach(dto -> {
//小程序去判断逻辑
if (dto.getMaterialType() != null && dto.getMaterialType() == 6) {
TabMiniprogramSetting miniprogramSetting = settingMap.get(dto.getAppId());
dto.setMaterialDesc(miniprogramSetting == null ? "--" : miniprogramSetting.getMiniprogramName());
}
});
}
return PageUtil.changePageHelperToCurrentPage(page, MaterialDTO.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment