leutu
2024-05-08 7922905e4987789b636abdce1a240f4cee7c971b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
server:
  port: 8092
  servlet:
    context-path: /lfdcExp
 
# mysql
spring:
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    #MySQL配置
    #    driverClassName: com.mysql.cj.jdbc.Driver
    #    url: jdbc:mysql://localhost:3306/iotdb?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
    #    username: root
    #    password: 123456
    #oracle配置
    #    driverClassName: oracle.jdbc.OracleDriver
    #    url: jdbc:oracle:thin:@47.100.206.162:1521:xe
    #    username: renren
    #    password: 123456
    #SQLServer配置
    #    driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
    #    url: jdbc:sqlserver://192.168.10.10:1433;DatabaseName=renren_fast
    #    username: sa
    #    password: 123456
    #    PostgreSQL配置
    driverClassName: org.postgresql.Driver
    url: jdbc:postgresql://127.0.0.1:5432/HBLFDC
    username: postgres
    password: 123456
 
    pagehelper:
      helper-dialect: postgresql
      reasonable: true
      support-methods-arguments: true
 
  jackson:
    time-zone: GMT+8
    date-format: yyyy-MM-dd HH:mm:ss
  resources:
    static-locations: classpath:/static/,classpath:/views/
 
#mongodb:
#  host: localhost
#  port: 27017
#  auth: false #是否使用密码验证
#  username: tincery
#  password: renren
#  source: 123456
#  database: test
 
mybatis-plus:
  mapperLocations: classpath:mapper/**/*.xml
 
 
pagehelper:
  reasonable: true
  supportMethodsArguments: true
  params: count=countSql
  
 
 
 
 
#指定数据库,可选值有【mysql、oracle、sqlserver、postgresql、mongodb】
renren:
  database: postgresql
 
http:
  alertinfo: http://10.69.206.80:9974/electricity/alarm/getLatestAlarmInfo
  topost: http://10.69.206.205:8080/a/ew/ewWarning/warning
  websocket: ws://10.69.206.80:9974/electricity/ws/asset