root лет назад: 5
Родитель
Сommit
e619c02348
2 измененных файлов с 6 добавлено и 6 удалено
  1. 4 4
      src/main/resources/application-dev.yml
  2. 2 2
      src/main/resources/application.yml

+ 4 - 4
src/main/resources/application-dev.yml

3
        type: com.alibaba.druid.pool.DruidDataSource
3
        type: com.alibaba.druid.pool.DruidDataSource
4
        druid:
4
        druid:
5
            driver-class-name: com.mysql.cj.jdbc.Driver
5
            driver-class-name: com.mysql.cj.jdbc.Driver
6
            url: jdbc:mysql://localhost:3306/renren_fast?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
7
            username: renren
8
            password: 123456
6
            url: jdbc:mysql://localhost:3306/meeting?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
7
            username: root
8
            password: root001
9
            initial-size: 10
9
            initial-size: 10
10
            max-active: 100
10
            max-active: 100
11
            min-idle: 10
11
            min-idle: 10
46
#      driver-class-name: org.postgresql.Driver
46
#      driver-class-name: org.postgresql.Driver
47
#      url: jdbc:postgresql://localhost:5432/renren_security
47
#      url: jdbc:postgresql://localhost:5432/renren_security
48
#      username: renren
48
#      username: renren
49
#      password: 123456
49
#      password: 123456

+ 2 - 2
src/main/resources/application.yml

4
    uri-encoding: UTF-8
4
    uri-encoding: UTF-8
5
    max-threads: 1000
5
    max-threads: 1000
6
    min-spare-threads: 30
6
    min-spare-threads: 30
7
  port: 8080
7
  port: 8002
8
  connection-timeout: 5000ms
8
  connection-timeout: 5000ms
9
  servlet:
9
  servlet:
10
    context-path: /renren-fast
10
    context-path: /renren-fast
73
    secret: f4e2e52034348f86b67cde581c0f9eb5[www.renren.io]
73
    secret: f4e2e52034348f86b67cde581c0f9eb5[www.renren.io]
74
    # token有效时长,7天,单位秒
74
    # token有效时长,7天,单位秒
75
    expire: 604800
75
    expire: 604800
76
    header: token
76
    header: token