...
|
...
|
@@ -42,16 +42,16 @@ public class InviteRecordHandler implements IEventHandler<InviteRecordEvent> { |
|
|
return;
|
|
|
}
|
|
|
|
|
|
EntrySellerRechargeOrder entrySellerRechargeOrder = entrySellerRechargeOrderMapper.selectByOrderCodeUid(event.getOrderCode(), event.getUid());
|
|
|
if (entrySellerRechargeOrder == null){
|
|
|
logger.info("has no invite code, uid is {}, orderCode is {}", event.getUid(), event.getOrderCode());
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
// 入驻回调事件处理
|
|
|
int result = 0;
|
|
|
if (event.getEventType() == EnterQuitEnum.ENTER){
|
|
|
|
|
|
EntrySellerRechargeOrder entrySellerRechargeOrder = entrySellerRechargeOrderMapper.selectByOrderCodeUid(event.getOrderCode(), event.getUid());
|
|
|
if (entrySellerRechargeOrder == null){
|
|
|
logger.info("has no invite code, uid is {}, orderCode is {}", event.getUid(), event.getOrderCode());
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
result = inviteService.firstEnterInviteeRecord(entrySellerRechargeOrder.getShowInviteCode(), event.getUid(), event.getOrderCode());
|
|
|
}
|
|
|
// 申请退驻
|
...
|
...
|
@@ -60,7 +60,7 @@ public class InviteRecordHandler implements IEventHandler<InviteRecordEvent> { |
|
|
result = inviteService.quitInviter(event.getUid());
|
|
|
}
|
|
|
|
|
|
logger.info("[{}] [{}] [{}]. invite end result is {}.", entrySellerRechargeOrder.getShowInviteCode(), event.getUid(), event.getOrderCode(), result);
|
|
|
logger.info(" [{}] [{}]. invite end result is {}.", event.getUid(), event.getOrderCode(), result);
|
|
|
|
|
|
|
|
|
}
|
...
|
...
|
|