| | |
| | | import com.yeshi.fanli.entity.integral.IntegralExchange.ExchangeTypeEnum;
|
| | | import com.yeshi.fanli.entity.integral.IntegralExchangeRecord;
|
| | | import com.yeshi.fanli.log.LogHelper;
|
| | | import com.yeshi.fanli.service.inter.integral.CodePublishRecordService;
|
| | | import com.yeshi.fanli.service.inter.integral.IntegralExchangeRecordService;
|
| | | import com.yeshi.fanli.service.inter.integral.IntegralExchangeService;
|
| | | import com.yeshi.fanli.service.inter.user.UserInfoExtraService;
|
| | |
| | |
|
| | | @Resource
|
| | | private UserInfoExtraService userInfoExtraService;
|
| | | |
| | | @Resource
|
| | | private CodePublishRecordService codePublishRecordService;
|
| | | |
| | | |
| | |
|
| | | @Override
|
| | | public List<IntegralExchange> listExchange(long start, int count, Long uid){
|
| | |
| | | }
|
| | |
|
| | | // 邀请码发布卡,兑换项,如果当前用户未激活邀请功能,则不需要显示该兑换项。
|
| | | if (type == ExchangeTypeEnum.inviteCodePublish && !hasCode) {
|
| | | listValid.remove(i);
|
| | | i --;
|
| | | continue;
|
| | | if (type == ExchangeTypeEnum.inviteCodePublish) {
|
| | | if (!hasCode) {
|
| | | listValid.remove(i);
|
| | | i --;
|
| | | continue;
|
| | | }
|
| | | |
| | | if(codePublishRecordService.countValidRecord(uid) > 0) {
|
| | | exchange.setBtnName("去查看");
|
| | | exchange.setNeedJump(true);
|
| | | }
|
| | | }
|
| | |
|
| | | String progress = exchange.getProgress();
|