ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/controller/miniapp/AppLotteryEventController.java
@@ -186,7 +186,7 @@ Integer current = dto.getCurrent(); if (-1 == dto.getStepOrDown()) { if (current - 1 < 0) { return R.fail("操作失败"); current = 0; } current--; } else { @@ -194,7 +194,7 @@ //下一题 current++; if (current >= count) { return R.fail("操作失败"); current = count - 1; } } List<TLotteryEventQuestions> list = lotteryEventServiceQuestionsService.list(new QueryWrapper<TLotteryEventQuestions>().eq("lottery_event_id", dto.getId()).orderByAsc("sort")); ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/controller/miniapp/AppIntegralController.java
@@ -89,9 +89,9 @@ integralChangeDto.setIntegralType(1); integralChangeDto.setUserId(userId); Boolean complete = memberService.changeIntegral(integralChangeDto); if (complete) { throw new ServiceException(AppErrorConstant.DOUBLE_INTEGRAL_TASK); } // if (complete) { // throw new ServiceException(AppErrorConstant.DOUBLE_INTEGRAL_TASK); // } //判断是否可以抽奖 List<TLotteryEvent> data = lotteryEventClient.getLotteryEventList(3).getData(); Map<String, Object> map = new HashMap<>();