| | |
| | | import com.java110.intf.store.IStoreAdsInnerServiceSMO; |
| | | import com.java110.store.bmo.storeAds.IGetStoreAdsBMO; |
| | | import com.java110.utils.cache.MappingCache; |
| | | import com.java110.utils.constant.MappingConstant; |
| | | import com.java110.utils.util.StringUtil; |
| | | import com.java110.vo.ResultVo; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | } |
| | | |
| | | private void freshAdsUrl(List<StoreAdsDto> storeAdsDtos) { |
| | | String imgUrl = MappingCache.getValue("IMG_PATH"); |
| | | imgUrl += (!StringUtil.isEmpty(imgUrl) && imgUrl.endsWith("/") ? "" : "/"); |
| | | String imgUrl = MappingCache.getValue(MappingConstant.FILE_DOMAIN,"IMG_PATH"); |
| | | for (StoreAdsDto tmpStoreAdsDto : storeAdsDtos) { |
| | | tmpStoreAdsDto.setUrl(imgUrl + tmpStoreAdsDto.getUrl()); |
| | | } |