2023-08-07 09:02:04 +00:00
|
|
|
|
server.port=9276
|
|
|
|
|
|
|
|
|
|
# 多个项目放在nginx下同个端口,通过该配置区分
|
|
|
|
|
server.servlet.context-path=/tunnel
|
|
|
|
|
|
|
|
|
|
# mysql 配置
|
|
|
|
|
# 配置数据源
|
2023-08-08 07:08:40 +00:00
|
|
|
|
spring.datasource.url=jdbc:mysql://101.35.234.160:32306/beidou?serverTimezone=Asia/Shanghai&zeroDateTimeBehavior\
|
2023-08-07 09:02:04 +00:00
|
|
|
|
=convertToNull&useUnicode=true
|
|
|
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
2023-08-08 07:08:40 +00:00
|
|
|
|
spring.datasource.username=cmhi
|
|
|
|
|
spring.datasource.password=cmHi10086!
|
2023-08-07 09:02:04 +00:00
|
|
|
|
|
|
|
|
|
#mybatis 配置
|
|
|
|
|
# 下划线转驼峰 将带有下划线的表字段映射为驼峰格式的实体类属性
|
|
|
|
|
#mybatis.configuration.map-underscore-to-camel-case: true
|
|
|
|
|
mybatis.mapper-locations=classpath*:mappers/*.xml
|
|
|
|
|
mybatis.type-aliases-package=com.cmhi.tunnelservice.pojo.entry
|
|
|
|
|
#mybatis.configuration.default-enum-type-handler=com.dispose.common.CommonEnumHandler
|
|
|
|
|
#config log
|
|
|
|
|
#logging.config=
|