@ -20,7 +20,7 @@ public class TaskPointIdConstants {
public static final String SUCCESS_FOLLOW_ONE_USER = "5";
// 首次分享期刊 todo
public static final String FIRST_SHARE_JOURNAL = "6";
// 首次收藏期刊 todo
// 首次收藏期刊
public static final String FIRST_COLLECT_JOURNAL = "7";
// 首次购物成功 todo
public static final String FIRST_SHOPPING_SUCCESS = "8";
@ -51,6 +51,11 @@ public class UserCollectController {
// 初次关注某用户
userPointLogService.addByTaskNew(TaskPointIdConstants.SUCCESS_FOLLOW_ONE_USER, authorization);
}
if(Objects.equals(collectType, 1)) {
userPointLogService.addByTaskNew(TaskPointIdConstants.FIRST_COLLECT_JOURNAL, authorization);
return Result.success();