|
@@ -147,13 +147,6 @@ public class GameTencentMiniGameUserServiceImpl extends ServiceImpl<GameTencentM
|
|
|
//返回注册已回传
|
|
|
return Tuple2.with(BackStatusEnum.NO, null);
|
|
|
}
|
|
|
- //判断回传是否正在执行中
|
|
|
- String lockKey = com.zanxiang.game.back.base.ServerInfo.SERVER_NAME + ":tencentMiniLinkCallBack:"
|
|
|
- + userLog.getGameId() + ":" + userLog.getAdAccountId() + ":"
|
|
|
- + userLog.getWechatAppId() + ":" + userLog.getWechatOpenid();
|
|
|
- if (!distributedLockComponent.doLock(lockKey, 0L, 1L, TimeUnit.SECONDS)) {
|
|
|
- return Tuple2.with(BackStatusEnum.NO, null);
|
|
|
- }
|
|
|
//回传策略
|
|
|
GameBackPolicy gameBackPolicy = userLog.getBackPolicyId() == null ? null
|
|
|
: gameBackPolicyService.getById(userLog.getBackPolicyId());
|