补充大华配置并启用通行记录定时任务

dev
shenzhidan 2026-08-06 15:13:58 +08:00
parent c7ebddef50
commit 0fd50054d1
5 changed files with 31 additions and 37 deletions

View File

@ -1,14 +1 @@
dahua: # Application-level overrides are defined in dahua.yml.
resource:
sync-enabled: true
sync-page-size: 200
subsystem: evo-accesscontrol
auto-match-by-name: true
oauth:
host: 123.183.159.35
client-id: 123.183.159.35
client-secret: 4edfdcd2-67e6-41db-a1ae-b98d47a70266
username: system
password: zcloud88888
http: false
port: 4443

View File

@ -4,5 +4,6 @@ spring:
# - classpath:nacos.yml # - classpath:nacos.yml
- classpath:prodnacos.yml - classpath:prodnacos.yml
- classpath:sdk.yml - classpath:sdk.yml
- classpath:dahua.yml
- classpath:swagger.yml - classpath:swagger.yml
# - classpath:ds.yml # - classpath:ds.yml

View File

@ -0,0 +1,27 @@
# Dahua platform integration configuration
dahua:
vehicle-access-record:
sync-enabled: true
sync-page-size: 1000
sync-delay-minutes: 5
sync-overlap-minutes: 10
initial-lookback-minutes: 1440
access-record:
sync-enabled: true
sync-page-size: 1000
sync-delay-minutes: 5
sync-overlap-minutes: 10
initial-lookback-minutes: 1440
resource:
sync-enabled: true
sync-page-size: 200
subsystem: evo-accesscontrol
auto-match-by-name: true
oauth:
host: 123.183.159.35
client-id: 123.183.159.35
client-secret: 4edfdcd2-67e6-41db-a1ae-b98d47a70266
username: system
password: zcloud88888
http: false
port: 4443

View File

@ -83,24 +83,3 @@ message:
closedAreaApplyReceiveCarAuditReject: MS000159 closedAreaApplyReceiveCarAuditReject: MS000159
closedAreaPersonReceiveAudit: MS000160 closedAreaPersonReceiveAudit: MS000160
closedAreaPersonReceiveAuditReject: MS000161 closedAreaPersonReceiveAuditReject: MS000161
# 大华平台配置
dahua:
access-record:
sync-enabled: true
sync-page-size: 1000
sync-delay-minutes: 5
sync-overlap-minutes: 10
initial-lookback-minutes: 1440
resource:
sync-enabled: true
sync-page-size: 200
subsystem: evo-accesscontrol
auto-match-by-name: true
oauth:
host: 123.183.159.35
client-id: 123.183.159.35
client-secret: 4edfdcd2-67e6-41db-a1ae-b98d47a70266
username: system
password: zcloud88888
http: false
port: 4443

View File

@ -11,7 +11,7 @@ import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
// @Component @Component
@RequiredArgsConstructor @RequiredArgsConstructor
@Slf4j @Slf4j
public class DaHuaAccessRecordSyncXxlJob implements Job { public class DaHuaAccessRecordSyncXxlJob implements Job {