|
@@ -246,6 +246,7 @@ public class CallbackController {
|
|
if (code == 0) {
|
|
if (code == 0) {
|
|
return "授权绑定成功";
|
|
return "授权绑定成功";
|
|
}
|
|
}
|
|
|
|
+ logger.info("返回信息:{}", map.toString());
|
|
}
|
|
}
|
|
return "授权绑定失败";
|
|
return "授权绑定失败";
|
|
}
|
|
}
|
|
@@ -340,7 +341,6 @@ public class CallbackController {
|
|
int i = allocationMapper.insert(userAllocation);
|
|
int i = allocationMapper.insert(userAllocation);
|
|
if (i > 0) {
|
|
if (i > 0) {
|
|
logger.info("同步分配用户表完成,task_id:{},accountId:{}", state, token.getAccountId());
|
|
logger.info("同步分配用户表完成,task_id:{},accountId:{}", state, token.getAccountId());
|
|
-
|
|
|
|
}
|
|
}
|
|
//账号绑定
|
|
//账号绑定
|
|
bindAccountAuthService.addBindAccount(token.getAccountId(), KuaishouInterfaceConstant.LOGIN_TYPE_BYTEDANCE, advertiserId);
|
|
bindAccountAuthService.addBindAccount(token.getAccountId(), KuaishouInterfaceConstant.LOGIN_TYPE_BYTEDANCE, advertiserId);
|