|
|
@@ -144,7 +144,7 @@ public class FsArticleServiceImpl implements IFsArticleService
|
|
|
param.setBusinessId(articleId.toString());
|
|
|
try {
|
|
|
R r = userIntegralLogsService.addIntegralTemplate(param);
|
|
|
- if (!r.get("code").equals("200")) {
|
|
|
+ if (!"200".equals(r.get("code").toString())) {
|
|
|
redisCache.deleteObject(finishViewKey);
|
|
|
return R.error("阅读文章领取积分失败:" + r.get("msg"));
|
|
|
}
|
|
|
@@ -153,7 +153,7 @@ public class FsArticleServiceImpl implements IFsArticleService
|
|
|
redisCache.deleteObject(finishViewKey);
|
|
|
return R.error("阅读文章领取积分失败");
|
|
|
}
|
|
|
- return R.ok();
|
|
|
+ return R.ok("今日已领取奖励!");
|
|
|
}
|
|
|
|
|
|
@Override
|