server:
port: 8001
mybatis:
# 获取api 模块下面的pojo
type-aliases-package: com.xc.springcloud.pojo
# 获取mybatis的配置文件(可不要)
config-location: classpath:mybatis/mybatis-config.xml
# 获取到项目当中的mapper.xml文件
mapper-locations: classpath:mybatis/mapper/*.xml
#spring 的配置
spring:
application:
name: springcloud-provider-dept
datasource:
# 数据源
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: org.gjt.mm.mysql.Driver
url: jdbc:mysql://localhost:3306/springboot_api?useUnicode=true&characterEncoding=utf-8
username: root
password: root