Commit d5354b29121d5ea9982902f9e25e04fa890282a2
1 parent
7fe84ead
调整时间配置
Showing
1 changed file
with
11 additions
and
1 deletions
class-service.yml
| @@ -68,7 +68,11 @@ spring: | @@ -68,7 +68,11 @@ spring: | ||
| 68 | #master: mymaster1 | 68 | #master: mymaster1 |
| 69 | #nodes: redis-server:16379,redis-server:16379 | 69 | #nodes: redis-server:16379,redis-server:16379 |
| 70 | 70 | ||
| 71 | - | 71 | + jackson: |
| 72 | + time-zone: GMT+8 | ||
| 73 | + date-format: yyyy-MM-dd HH:mm:ss | ||
| 74 | + deserialization.accept_empty_string_as_null_object: true | ||
| 75 | + | ||
| 72 | 76 | ||
| 73 | mybatis: | 77 | mybatis: |
| 74 | mapperLocations: classpath:/mybatis/*.xml | 78 | mapperLocations: classpath:/mybatis/*.xml |
| @@ -324,6 +328,12 @@ spring: | @@ -324,6 +328,12 @@ spring: | ||
| 324 | #sentinel: | 328 | #sentinel: |
| 325 | #master: mymaster1 | 329 | #master: mymaster1 |
| 326 | #nodes: redis1:16379,redis2:16379 | 330 | #nodes: redis1:16379,redis2:16379 |
| 331 | + | ||
| 332 | + jackson: | ||
| 333 | + time-zone: GMT+8 | ||
| 334 | + date-format: yyyy-MM-dd HH:mm:ss | ||
| 335 | + deserialization.accept_empty_string_as_null_object: true | ||
| 336 | + | ||
| 327 | 337 | ||
| 328 | mybatis: | 338 | mybatis: |
| 329 | mapperLocations: classpath:/mybatis/*.xml | 339 | mapperLocations: classpath:/mybatis/*.xml |