| | |
| | | shop.setIsrec(Constants.ONE); |
| | | shop.setOrigin(Constants.ONE); |
| | | shop.setSaleType(Constants.formatIntegerNum(shop.getSaleType())); |
| | | shop.setAmount(BigDecimal.ZERO); |
| | | shop.setTotalAmount(BigDecimal.ZERO); |
| | | String salt = RandomStringUtils.randomAlphabetic(6); |
| | | |
| | | shop.setPassword(shop.getCode()+"@123456"); |
| | |
| | | String path = systemDictDataBiz.queryByCode(Constants.OSS, Constants.RESOURCE_PATH).getCode() |
| | | + systemDictDataBiz.queryByCode(Constants.OSS, Constants.SHOP_FILE).getCode(); |
| | | for(Shop model:shopList){ |
| | | |
| | | model.setImgFullUrl(StringUtils.isNotBlank(model.getImgurl())?path+model.getImgurl():null); |
| | | |
| | | } |
| | | return shopList; |
| | | } |