Commit 13d542f4d52db12c6faca594fd495eb83b0dd9ff

Authored by 李献忠
1 parent a64af4fa

更新user服务配置项

Showing 1 changed file with 20 additions and 0 deletions
user-service.yml
@@ -9,6 +9,13 @@ spring: @@ -9,6 +9,13 @@ spring:
9 username: test 9 username: test
10 password: 123456 10 password: 123456
11 driver-class-name: com.mysql.jdbc.Driver 11 driver-class-name: com.mysql.jdbc.Driver
  12 + thymeleaf:
  13 + prefix: classpath:/templates/
  14 + suffix: .html
  15 + mode: HTML5
  16 + encoding: UTF-8
  17 + content-type: text/html
  18 + cache: false
12 19
13 endpoints: 20 endpoints:
14 restart: 21 restart:
@@ -31,6 +38,19 @@ eureka: @@ -31,6 +38,19 @@ eureka:
31 38
32 spring: 39 spring:
33 profiles: production 40 profiles: production
  41 + datasource:
  42 + name: gxb_core
  43 + url: jdbc:mysql://emysql3:3306/gxb_core?useUnicode=true&characterEncoding=gbk&zeroDateTimeBehavior=convertToNull
  44 + username: test
  45 + password: 123456
  46 + driver-class-name: com.mysql.jdbc.Driver
  47 + thymeleaf:
  48 + prefix: classpath:/templates/
  49 + suffix: .html
  50 + mode: HTML5
  51 + encoding: UTF-8
  52 + content-type: text/html
  53 + cache: false
34 54
35 endpoints: 55 endpoints:
36 restart: 56 restart: