补充大华配置并启用通行记录定时任务
parent
c7ebddef50
commit
0fd50054d1
|
|
@ -1,14 +1 @@
|
|||
dahua:
|
||||
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
|
||||
# Application-level overrides are defined in dahua.yml.
|
||||
|
|
|
|||
|
|
@ -4,5 +4,6 @@ spring:
|
|||
# - classpath:nacos.yml
|
||||
- classpath:prodnacos.yml
|
||||
- classpath:sdk.yml
|
||||
- classpath:dahua.yml
|
||||
- classpath:swagger.yml
|
||||
# - classpath:ds.yml
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -83,24 +83,3 @@ message:
|
|||
closedAreaApplyReceiveCarAuditReject: MS000159
|
||||
closedAreaPersonReceiveAudit: MS000160
|
||||
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
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import lombok.RequiredArgsConstructor;
|
|||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
// @Component
|
||||
@Component
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
public class DaHuaAccessRecordSyncXxlJob implements Job {
|
||||
|
|
@ -40,4 +40,4 @@ public class DaHuaAccessRecordSyncXxlJob implements Job {
|
|||
return ReturnT.FAIL;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue