|
@@ -318,7 +318,7 @@ public class CallbackController {
|
|
Boolean getSuccess = (Boolean) advertiserDataMap.get("success");
|
|
Boolean getSuccess = (Boolean) advertiserDataMap.get("success");
|
|
if (null == getSuccess || !getSuccess) {
|
|
if (null == getSuccess || !getSuccess) {
|
|
log.info("获取广告主信息失败,accountId:{},message:{}", token.getAccountId(), (String) advertiserDataMap.get("message"));
|
|
log.info("获取广告主信息失败,accountId:{},message:{}", token.getAccountId(), (String) advertiserDataMap.get("message"));
|
|
- text.append("accountId:" + advertiser_id + "暂未获取数据权限,请检查账户")
|
|
|
|
|
|
+ text.append("账户id:" + advertiser_id + "暂未获取数据权限,请检查账户")
|
|
.append("<br/>");
|
|
.append("<br/>");
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
@@ -331,7 +331,7 @@ public class CallbackController {
|
|
userAllocationQueryWrapper.last("limit 1");
|
|
userAllocationQueryWrapper.last("limit 1");
|
|
UserAllocation checkUserAllocation = allocationMapper.selectOne(userAllocationQueryWrapper);
|
|
UserAllocation checkUserAllocation = allocationMapper.selectOne(userAllocationQueryWrapper);
|
|
if (!Check.isNull(checkUserAllocation)) {
|
|
if (!Check.isNull(checkUserAllocation)) {
|
|
- text.append("accountId:" + accountId + ",授权名称为:" + (String) advertiserDataMap.get("name") + ",绑定失败,失败原因:已被" + checkUserAllocation.getUserName() + "绑定。")
|
|
|
|
|
|
+ text.append("账户id:" + accountId + ",授权名称为:" + (String) advertiserDataMap.get("name") + ",绑定失败,失败原因:已被" + checkUserAllocation.getUserName() + "绑定。")
|
|
.append("<br/>");
|
|
.append("<br/>");
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
@@ -385,11 +385,11 @@ public class CallbackController {
|
|
userAllocationQueryWrapper.last("limit 1");
|
|
userAllocationQueryWrapper.last("limit 1");
|
|
UserAllocation checkUserAllocation = allocationMapper.selectOne(userAllocationQueryWrapper);
|
|
UserAllocation checkUserAllocation = allocationMapper.selectOne(userAllocationQueryWrapper);
|
|
if (!Check.isNull(checkUserAllocation)) {
|
|
if (!Check.isNull(checkUserAllocation)) {
|
|
- text.append("accountId:" + accountId + ",授权名称为:" + (String) advertiserDataMap.get("name") + ",绑定失败,失败原因:已被" + checkUserAllocation.getUserName() + "绑定。")
|
|
|
|
|
|
+ text.append("账户id:" + accountId + ",授权名称为:" + (String) advertiserDataMap.get("name") + ",绑定失败,失败原因:已被" + checkUserAllocation.getUserName() + "绑定。")
|
|
.append("<br/>");
|
|
.append("<br/>");
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
- text.append("accountId:" + accountId + ",授权名称为:" + (String) advertiserDataMap.get("name") + ",绑定成功。").append("<br/>");
|
|
|
|
|
|
+ text.append("账户id:" + accountId + ",授权名称为:" + (String) advertiserDataMap.get("name") + ",绑定成功。").append("<br/>");
|
|
String systemType = json.getString("systemType");
|
|
String systemType = json.getString("systemType");
|
|
UserAllocation userAllocation = new UserAllocation();
|
|
UserAllocation userAllocation = new UserAllocation();
|
|
userAllocation.setUserId(userId);
|
|
userAllocation.setUserId(userId);
|