root 5 years ago
parent
commit
e619c02348
2 changed files with 6 additions and 6 deletions
  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,9 +3,9 @@ spring:
3 3
        type: com.alibaba.druid.pool.DruidDataSource
4 4
        druid:
5 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 9
            initial-size: 10
10 10
            max-active: 100
11 11
            min-idle: 10
@ -46,4 +46,4 @@ spring:
46 46
#      driver-class-name: org.postgresql.Driver
47 47
#      url: jdbc:postgresql://localhost:5432/renren_security
48 48
#      username: renren
49
#      password: 123456
49
#      password: 123456

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

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