|
@@ -36,7 +36,11 @@ public class CompassBindAdvertisersJob {
|
|
|
//罗盘账户的「快手 id」,只能传递授权时使用的快手 id
|
|
|
Long advertiserId = 4361966075L;
|
|
|
String token = tokenService.getOuthTokenAccountId(39526067L);
|
|
|
- compassBindAdvertisersService.openapiGwUcV1Advertisers(advertiserId, token);
|
|
|
+ compassBindAdvertisersService.openapiGwUcV1Advertisers(advertiserId, token)
|
|
|
+
|
|
|
+ ;Long advertiserId2 = 4541748730L;
|
|
|
+ String token2 = tokenService.getOuthTokenAccountId(52899077L);
|
|
|
+ compassBindAdvertisersService.openapiGwUcV1Advertisers(advertiserId2, token2);
|
|
|
log.info("------【获取罗盘绑定广告主列】执行完成");
|
|
|
|
|
|
}
|
|
@@ -47,8 +51,8 @@ public class CompassBindAdvertisersJob {
|
|
|
return null;
|
|
|
}
|
|
|
String token = null;
|
|
|
- String advertiserName = advertiser.getAdvertiserName();
|
|
|
- if (!Check.isNull(advertiserName) && advertiserName.contains("汇创")) {
|
|
|
+ String corporationName = advertiser.getCorporationName();
|
|
|
+ if (!Check.isNull(corporationName) && corporationName.contains("汇创")) {
|
|
|
//汇创
|
|
|
token = tokenService.getAgentTokenByAgentId(14L);
|
|
|
} else {
|