Authored by mali

资源位列表增加小程序类型

@@ -50,7 +50,7 @@ public class ResourceServiceImpl implements IResourceService{ @@ -50,7 +50,7 @@ public class ResourceServiceImpl implements IResourceService{
50 } 50 }
51 List<ResourceGetBo> resourceGetBoList = new ArrayList<>(); 51 List<ResourceGetBo> resourceGetBoList = new ArrayList<>();
52 for(Resources res : resourcesList){ 52 for(Resources res : resourcesList){
53 - ResourceGetBo bo = new ResourceGetBo(res.getId(), res.getName(), "APP", 53 + ResourceGetBo bo = new ResourceGetBo(res.getId(), res.getName(), Integer.valueOf(1).equals(res.getPlatformId()) ? "APP" : "小程序",
54 res.getCode(), res.getCreateTime()); 54 res.getCode(), res.getCreateTime());
55 resourceGetBoList.add(bo); 55 resourceGetBoList.add(bo);
56 } 56 }