Merge branch 'gray'
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -691,7 +691,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService { | @@ -691,7 +691,7 @@ public class GrassArticleServiceImpl implements IGrassArticleService { | ||
691 | //推荐和置顶操作,清前台缓存 | 691 | //推荐和置顶操作,清前台缓存 |
692 | clearArticleListCache(req.getArticleId()); | 692 | clearArticleListCache(req.getArticleId()); |
693 | //后期新加的逻辑 发奖励-- 1)晒单的文章2)被推荐 3)没有发放过奖励 | 693 | //后期新加的逻辑 发奖励-- 1)晒单的文章2)被推荐 3)没有发放过奖励 |
694 | - if (isRecommend == 1 && articleInfo.getArticleType() == 4 && articleInfo.getRemRewardFlag() == 0) { | 694 | + if (isRecommend != null && isRecommend == 1 && articleInfo.getArticleType() == 4 && articleInfo.getRemRewardFlag() == 0) { |
695 | sendRemReward(articleInfo); | 695 | sendRemReward(articleInfo); |
696 | } | 696 | } |
697 | } | 697 | } |
-
Please register or login to post a comment