# Tomcat server: port: 9779 # Spring spring: application: # 应用名称 name: zd-algorithm profiles: # 环境配置 active: dev cloud: nacos: discovery: # 服务注册地址 # server-addr: 180.76.134.43:8848 server-addr: ${NACOS_HOST:127.0.0.1}:${NACOS_PORT:8848} config: # 配置中心地址 # server-addr: 180.76.134.43:8848 server-addr: ${NACOS_HOST:127.0.0.1}:${NACOS_PORT:8848} # 配置文件格式 file-extension: yml # 共享配置 shared-configs: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} # mybatis配置 mybatis: # 搜索指定包别名 typeAliasesPackage: com.zd.alg # 配置mapper的扫描,找到所有的mapper.xml映射文件 mapperLocations: classpath:mapper/**/*.xml configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl call-setters-on-nulls: true