|
@@ -38,7 +38,8 @@ public class CompassBindAdvertisersJob {
|
|
String token = tokenService.getOuthTokenAccountId(39526067L);
|
|
String token = tokenService.getOuthTokenAccountId(39526067L);
|
|
compassBindAdvertisersService.openapiGwUcV1Advertisers(advertiserId, token)
|
|
compassBindAdvertisersService.openapiGwUcV1Advertisers(advertiserId, token)
|
|
|
|
|
|
- ;Long advertiserId2 = 4541748730L;
|
|
|
|
|
|
+ ;
|
|
|
|
+ Long advertiserId2 = 4541748730L;
|
|
String token2 = tokenService.getOuthTokenAccountId(52899077L);
|
|
String token2 = tokenService.getOuthTokenAccountId(52899077L);
|
|
compassBindAdvertisersService.openapiGwUcV1Advertisers(advertiserId2, token2);
|
|
compassBindAdvertisersService.openapiGwUcV1Advertisers(advertiserId2, token2);
|
|
log.info("------【获取罗盘绑定广告主列】执行完成");
|
|
log.info("------【获取罗盘绑定广告主列】执行完成");
|
|
@@ -52,12 +53,12 @@ public class CompassBindAdvertisersJob {
|
|
}
|
|
}
|
|
String token = null;
|
|
String token = null;
|
|
String corporationName = advertiser.getCorporationName();
|
|
String corporationName = advertiser.getCorporationName();
|
|
- if (!Check.isNull(corporationName) && corporationName.contains("汇创")) {
|
|
|
|
- //汇创
|
|
|
|
- token = tokenService.getAgentTokenByAgentId(14L);
|
|
|
|
- } else {
|
|
|
|
|
|
+ if (!Check.isNull(corporationName) && corporationName.contains("骄阳")) {
|
|
//723 骄阳token
|
|
//723 骄阳token
|
|
token = tokenService.getAgentTokenByAgentId(723L);
|
|
token = tokenService.getAgentTokenByAgentId(723L);
|
|
|
|
+ } else {
|
|
|
|
+ //汇创
|
|
|
|
+ token = tokenService.getAgentTokenByAgentId(14L);
|
|
}
|
|
}
|
|
return token;
|
|
return token;
|
|
}
|
|
}
|