| | |
| | | import com.ruoyi.account.vo.vip.Level; |
| | | import com.ruoyi.account.vo.vip.VipLevel; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.utils.bean.BeanUtils; |
| | | import com.ruoyi.common.security.service.TokenService; |
| | | import com.ruoyi.other.api.domain.*; |
| | | import com.ruoyi.other.api.feignClient.BaseSettingClient; |
| | |
| | | |
| | | vipSettingList.forEach(vipSetting -> { |
| | | Level level = new Level(); |
| | | level.setId(vipSetting.getId()); |
| | | level.setName(vipSetting.getVipName()); |
| | | level.setVipInfo(vipSetting.getVipInfo()); |
| | | BeanUtils.copyBeanProp(level, vipSetting); |
| | | level.setVipDesc(baseSetting.getContent()); |
| | | level.setVipLevelUpShop(vipSetting.getVipLevelUpShop()); |
| | | level.setVipLevelUpShare(vipSetting.getVipLevelUpShare()); |
| | | level.setKeepBuyDay(vipSetting.getKeepBuyDay()); |
| | | level.setKeepBuyPoint(vipSetting.getKeepBuyPoint()); |
| | | level.setKeepShareDay(vipSetting.getKeepShareDay()); |
| | | level.setKeepSharePoint(vipSetting.getKeepSharePoint()); |
| | | level.setKeepShopDay(vipSetting.getKeepShopDay()); |
| | | level.setKeepShopPoint(vipSetting.getKeepShopPoint()); |
| | | |
| | | R<GoodsVip> goodsVipR = goodsVipMap.get(vipSetting.getId()); |
| | | if (R.isSuccess(goodsVipR)) { |