Commit 83bfda2c by huluobin

帐号

parent cfff1274
...@@ -37,6 +37,7 @@ public class CompanyAccountSyncJob implements SimpleJob { ...@@ -37,6 +37,7 @@ public class CompanyAccountSyncJob implements SimpleJob {
.addHeader("Content-Type", "application/json") .addHeader("Content-Type", "application/json")
.build(); .build();
log.info("开始同步百伦帐号信息");
try (Response response = client.newCall(request).execute(); try (Response response = client.newCall(request).execute();
SqlSession sqlSession = SessionUtil.getFactory().openSession(true)) { SqlSession sqlSession = SessionUtil.getFactory().openSession(true)) {
......
#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
...@@ -7,11 +7,14 @@ EVENT_RDB_STORAGE_URL=jdbc:mysql://10.0.8.15:3306/bailun_datacenter?useUnicode=t ...@@ -7,11 +7,14 @@ EVENT_RDB_STORAGE_URL=jdbc:mysql://10.0.8.15:3306/bailun_datacenter?useUnicode=t
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
JOB_NAME_COMPANY_STAFF=base-sync-company-staff JOB_NAME_COMPANY_STAFF=base-sync-company-staff
JOB_NAME_COMPANY_ACCOUNT=base-sync-company-account JOB_NAME_COMPANY_ACCOUNT=base-sync-company-account
JOB_NAME_PAYPAL_ACCOUNT=base-sync-paypal-account JOB_NAME_PAYPAL_ACCOUNT=base-sync-paypal-account
JOB_CRON_COMPANY_INFO=0 0 2/2 * * ? * 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 * * * ? *
......
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