1.添加登录模块
This commit is contained in:
@@ -38,8 +38,16 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-security</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
|
||||
<build>
|
||||
<finalName>influx-target</finalName>
|
||||
<plugins>
|
||||
|
||||
@@ -47,6 +47,7 @@ public class OracleToInfluxDBJob {
|
||||
}*/
|
||||
|
||||
//每小时03分钟时执行上一个小时的数据同步
|
||||
//河北这边比较特殊,
|
||||
@Scheduled(cron="0 3 * * * ?")
|
||||
public void executeHours() {
|
||||
DataAsynParam dataAsynParam = new DataAsynParam();
|
||||
|
||||
@@ -5,6 +5,10 @@ business:
|
||||
server:
|
||||
port: 8090
|
||||
spring:
|
||||
security:
|
||||
user:
|
||||
name: njcn
|
||||
password: dnzl@#002
|
||||
#influxDB内容配置
|
||||
influx:
|
||||
url: http://192.168.1.102:8086
|
||||
|
||||
Reference in New Issue
Block a user