bootstrap.yml
955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
server:
port: 8081
spring:
application:
name: xtrade-order-service
cloud:
nacos:
discovery:
username: xtrade
password: abcd1234
server-addr: 10.28.1.79:8848
config:
username: xtrade
password: abcd1234
server-addr: 10.28.1.79:8848
prefix: ${spring.application.name}
context-path: /nacos
file-extension: properties
extension-configs:
- dataId: common.properties
refresh: false
profiles:
active: dev
#id生成器启用
xtrade:
key-generator:
enable: true
mybatis:
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
mapper-locations: classpath:mapping/com/diligrp/xtrade/*product/*Dao.xml
type-aliases-package: com.diligrp.xtrade.*.domain.entity
#logging:
# level:
# com.diligrp.xtrade.product.dao: debug
max:
file:
size: 2000