Commit 930d2106d1c9e3a707e8f1c5b9662a0f1cca459c

Authored by 李献忠
1 parent d1ecdd41

更新mybatis配置

admin-ui.yml deleted 100644 → 0
1 -server:  
2 - port: 17100  
3 -  
4 -spring:  
5 - profiles: development  
6 - cloud:  
7 - config:  
8 - discovery:  
9 - enabled: true  
10 - thymeleaf:  
11 - prefix: classpath:/templates/  
12 - suffix: .html  
13 - mode: HTML5  
14 - encoding: UTF-8  
15 - content-type: text/html  
16 - cache: false  
17 - resource:  
18 - chain:  
19 - strategy:  
20 - content:  
21 - enabled: true  
22 - paths: /**  
23 - mvc:  
24 - static-path-pattern: /**  
25 -  
26 -endpoints:  
27 - restart:  
28 - enabled: true  
29 - shutdown:  
30 - enabled: true  
31 - health:  
32 - sensitive: false  
33 -  
34 -eureka:  
35 - instance:  
36 - hostname: admin-ui  
37 - client:  
38 - registerWithEureka: true  
39 - fetchRegistry: false  
40 - serviceUrl:  
41 - defaultZone: http://discovery:15200/eureka/  
42 -  
43 ----  
44 -  
45 -spring:  
46 - profiles: production  
47 - cloud:  
48 - config:  
49 - discovery:  
50 - enabled: true  
51 - thymeleaf:  
52 - prefix: classpath:/templates/  
53 - suffix: .html  
54 - mode: HTML5  
55 - encoding: UTF-8  
56 - content-type: text/html  
57 - cache: false  
58 -  
59 -endpoints:  
60 - restart:  
61 - enabled: true  
62 - shutdown:  
63 - enabled: true  
64 - health:  
65 - sensitive: false  
66 -  
67 -eureka:  
68 - instance:  
69 - hostname: admin-ui  
70 - client:  
71 - registerWithEureka: true  
72 - fetchRegistry: false  
73 - serviceUrl:  
74 - defaultZone: http://discovery:15200/eureka/  
75 \ No newline at end of file 0 \ No newline at end of file
class-service.yml
@@ -35,13 +35,10 @@ spring: @@ -35,13 +35,10 @@ spring:
35 password: 0Crofg6WIDslONnmqgQLWv14Ekb6028G 35 password: 0Crofg6WIDslONnmqgQLWv14Ekb6028G
36 driver-class-name: com.mysql.jdbc.Driver 36 driver-class-name: com.mysql.jdbc.Driver
37 37
38 - thymeleaf:  
39 - prefix: classpath:/templates/  
40 - suffix: .html  
41 - mode: HTML5  
42 - encoding: UTF-8  
43 - content-type: text/html  
44 - cache: false 38 +mybatis:
  39 + mapperLocations: classpath:/mybatis/*.xml
  40 + typeAliasesPackage: com.huike.eaas.microservice.classes.domains
  41 + config: classpath:mybatis-config.xml
45 42
46 43
47 #mybatis: 44 #mybatis:
@@ -77,13 +74,11 @@ spring: @@ -77,13 +74,11 @@ spring:
77 username: test 74 username: test
78 password: 123456 75 password: 123456
79 driver-class-name: com.mysql.jdbc.Driver 76 driver-class-name: com.mysql.jdbc.Driver
80 - thymeleaf:  
81 - prefix: classpath:/templates/  
82 - suffix: .html  
83 - mode: HTML5  
84 - encoding: UTF-8  
85 - content-type: text/html  
86 - cache: false 77 +
  78 +mybatis:
  79 + mapperLocations: classpath:/mybatis/*.xml
  80 + typeAliasesPackage: com.huike.eaas.microservice.classes.domains
  81 + config: classpath:mybatis-config.xml
87 82
88 endpoints: 83 endpoints:
89 restart: 84 restart:
user-service.yml
@@ -13,13 +13,11 @@ spring: @@ -13,13 +13,11 @@ spring:
13 username: test 13 username: test
14 password: 123456 14 password: 123456
15 driver-class-name: com.mysql.jdbc.Driver 15 driver-class-name: com.mysql.jdbc.Driver
16 - thymeleaf:  
17 - prefix: classpath:/templates/  
18 - suffix: .html  
19 - mode: HTML5  
20 - encoding: UTF-8  
21 - content-type: text/html  
22 - cache: false 16 +
  17 +mybatis:
  18 + mapperLocations: classpath:/mybatis/*.xml
  19 + typeAliasesPackage: com.huike.eaas.microservice.users.domain
  20 + config: classpath:mybatis-config.xml
23 21
24 endpoints: 22 endpoints:
25 restart: 23 restart:
@@ -52,13 +50,11 @@ spring: @@ -52,13 +50,11 @@ spring:
52 username: test 50 username: test
53 password: 123456 51 password: 123456
54 driver-class-name: com.mysql.jdbc.Driver 52 driver-class-name: com.mysql.jdbc.Driver
55 - thymeleaf:  
56 - prefix: classpath:/templates/  
57 - suffix: .html  
58 - mode: HTML5  
59 - encoding: UTF-8  
60 - content-type: text/html  
61 - cache: false 53 +
  54 +mybatis:
  55 + mapperLocations: classpath:/mybatis/*.xml
  56 + typeAliasesPackage: com.huike.eaas.microservice.users.domain
  57 + config: classpath:mybatis-config.xml
62 58
63 endpoints: 59 endpoints:
64 restart: 60 restart: