Commit 48475c18 by huluobin

百伦帐号同步

parent b262eb1b
...@@ -47,9 +47,9 @@ public class AmazonAdGenerateReportIdJob implements SimpleJob { ...@@ -47,9 +47,9 @@ public class AmazonAdGenerateReportIdJob implements SimpleJob {
try { try {
// //
LocalDateTime reportDate = LocalDateTime.now().minusDays(1).minusHours(12); // LocalDateTime reportDate = LocalDateTime.now().minusDays(1).minusHours(12);
// LocalDateTime reportDate = LocalDateTime.of(2020, 8, 22, 0, 0); LocalDateTime reportDate = LocalDateTime.of(2020, 8, 25, 0, 0);
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("reportDate", reportDate.format(DateTimeFormatter.ofPattern("yyyyMMdd"))); jsonObject.put("reportDate", reportDate.format(DateTimeFormatter.ofPattern("yyyyMMdd")));
jsonObject.put("metrics", propertiesUtil.getPropertyAsString("METRICS")); jsonObject.put("metrics", propertiesUtil.getPropertyAsString("METRICS"));
......
#COMPANY_INFO_URL=http://sso.bailuntec.com/GetCompanys #COMPANY_INFO_URL=http://sso.bailuntec.com/GetCompanys
#COMPANY_STAFF_URL=http://sso.bailuntec.com/GetUserByCompany #COMPANY_STAFF_URL=http://sso.bailuntec.com/GetUserByCompany
COMPANY_ACCOUNT_URL=http://pams.bailuntec.com/Api/GetAccountToken #COMPANY_ACCOUNT_URL=http://pams.bailuntec.com/Api/GetAccountToken
COMPANY_INFO_URL=http://172.31.255.10/GetCompanys COMPANY_INFO_URL=http://172.31.255.10/GetCompanys
COMPANY_STAFF_URL=http://172.31.255.10/GetUserByCompany COMPANY_STAFF_URL=http://172.31.255.10/GetUserByCompany
#COMPANY_ACCOUNT_URL=http://10.0.6.17:8090/Api/GetAccountToken COMPANY_ACCOUNT_URL=http://10.0.6.17:8090/Api/GetAccountToken
PAYPAL_ACCOUNT_URL=http://pams.bailuntec.com/Api/GetPayPalAccounts PAYPAL_ACCOUNT_URL=http://pams.bailuntec.com/Api/GetPayPalAccounts
...@@ -6,8 +6,9 @@ EVENT_RDB_STORAGE_DRIVER=com.mysql.jdbc.Driver ...@@ -6,8 +6,9 @@ EVENT_RDB_STORAGE_DRIVER=com.mysql.jdbc.Driver
EVENT_RDB_STORAGE_URL=jdbc:mysql://10.0.8.15:3306/bailun_datacenter?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8 EVENT_RDB_STORAGE_URL=jdbc:mysql://10.0.8.15:3306/bailun_datacenter?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
EVENT_RDB_STORAGE_USERNAME=root EVENT_RDB_STORAGE_USERNAME=root
EVENT_RDB_STORAGE_PASSWORD=#7kfnymAM$Y9-Ntf EVENT_RDB_STORAGE_PASSWORD=#7kfnymAM$Y9-Ntf
ZOOKEEPER_SERVER=172.31.255.120:2181
ZOOKEEPER_SERVER=172.31.255.120:2181
NAME_SPACE=data-center NAME_SPACE=data-center
JOB_NAME_COMPANY_INFO=base-sync-company-info JOB_NAME_COMPANY_INFO=base-sync-company-info
...@@ -19,4 +20,5 @@ JOB_CRON_COMPANY_INFO=0 0 2/2 * * ? * ...@@ -19,4 +20,5 @@ JOB_CRON_COMPANY_INFO=0 0 2/2 * * ? *
JOB_CRON_COMPANY_STAFF=5 5 1/2 * * ? * JOB_CRON_COMPANY_STAFF=5 5 1/2 * * ? *
JOB_CRON_COMPANY_ACCOUNT=0 0/3 * * * ? * JOB_CRON_COMPANY_ACCOUNT=0 0/3 * * * ? *
JOB_CRON_PAYPAL_ACCOUNT=0 0/3 * * * ? * JOB_CRON_PAYPAL_ACCOUNT=0 0/3 * * * ? *
SHARDING_TOTAL_COUNT=1 SHARDING_TOTAL_COUNT=1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment