| | |
| | | throw new BusinessException(ResponseStatus.DATA_EMPTY); |
| | | } |
| | | applicationInfo.setFullLog(prefix + applicationInfo.getLogo()); |
| | | if(StringUtils.isNotBlank(applicationInfo.getMutifileUrl())){ |
| | | applicationInfo.setFullMutifileUrl(prefix + applicationInfo.getMutifileUrl()); |
| | | } |
| | | return applicationInfo; |
| | | } |
| | | |
| | |
| | | String prefix = systemDictDataBiz.queryByCode(Constants.OSS, Constants.RESOURCE_PATH).getCode() + systemDictDataBiz.queryByCode(Constants.OSS, Constants.LOGO_FILE).getCode(); |
| | | iPage.getRecords().forEach(i->{ |
| | | i.setFullLog(prefix + i.getLogo()); |
| | | if(StringUtils.isNotBlank(i.getMutifileUrl())){ |
| | | i.setFullMutifileUrl(prefix + i.getMutifileUrl()); |
| | | } |
| | | }); |
| | | return PageData.from(iPage); |
| | | } |