|
|
@@ -66,7 +66,7 @@ public class IdentityAuthService {
|
|
|
if (user1.getInviteNum() >= 10) {
|
|
|
List<Long> userIds = List.of(user.getInvitor());
|
|
|
String name = "邀请新人得空投奖励";
|
|
|
- List<AirDrop> airDrops = airDropRepo.findAllByUserIdsAndName(String.valueOf(user.getInvitor()), name);
|
|
|
+ List<AirDrop> airDrops = airDropRepo.findAllByUserIdsAndName(String.valueOf(userIds), name);
|
|
|
if (CollUtil.isEmpty(airDrops)) {
|
|
|
airDropService.create(AirDrop.builder()
|
|
|
.name(name)
|