Przeglądaj źródła

Merge branch 'dev_1_3_2_20220815'

liujunchi 3 lat temu
rodzic
commit
8b48ceb3bb

+ 1 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/ActivityRewardServiceImpl.java

@@ -157,7 +157,7 @@ public class ActivityRewardServiceImpl extends ServiceImpl<ActivityRewardDao, Ac
     @Transactional(rollbackFor = Exception.class)
     public List<Long> sendReward(Long userId, Long activityId) {
         if (userRewarded(userId, activityId)) {
-            return null;
+            return new ArrayList<>();
         }
         ActivityPlan activityPlan = activityPlanService.getById(activityId);
         if (activityPlan == null) {