|
|
@@ -1167,7 +1167,7 @@ public class UserService {
|
|
|
}
|
|
|
|
|
|
public void savePoint(User user) {
|
|
|
- if (8573130L != user.getCollectionId()) return;
|
|
|
+
|
|
|
//给积分
|
|
|
Long invitor = user.getCollectionInvitor();
|
|
|
if (ObjectUtils.isEmpty(user.getCollectionId()) || ObjectUtils.isEmpty(invitor)) {
|
|
|
@@ -1175,6 +1175,8 @@ public class UserService {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ if (8573130L != user.getCollectionId()) return;
|
|
|
+
|
|
|
Collection collection = collectionRepo.findById(user.getCollectionId()).orElse(null);
|
|
|
if (collection == null) {
|
|
|
return;
|