release: 首次收藏期刊

release-2024-08-08
huangyw 4 months ago
parent 976fa47769
commit e6e7977756

@ -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();
}

Loading…
Cancel
Save