Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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 | } |
-
Please register or login to post a comment