1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- server:
- port: 8090
- spring:
- application:
- name: huimv-eartag2-input
- datasource:
- url: jdbc:mysql://192.168.1.7:3306/huimv_demo?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
- username: root
- password: hm123456
- driver-class-name: com.mysql.cj.jdbc.Driver
- jpa:
- show-sql: true
- database: mysql
- hibernate:
- ddl-auto: update
- database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
- open-in-view: true
- data:
- redis:
- repositories:
- enabled: false
- #是否缓存空值
- cache:
- redis:
- cache-null-values: false
- #server:
- # port: 9110
- #spring:
- # application:
- # name: huimv-hy-autoGetData
- #
- # datasource:
- ## url: jdbc:mysql://47.98.175.112:3306/huimv_ql_farm_haiyan?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
- # # url: jdbc:mysql://36.22.189.214:3306/huimv_ql_farm?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
- # url: jdbc:mysql://192.168.1.7:3306/huimv_ql_farm?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
- # username: root
- # password: hm123456
- # driver-class-name: com.mysql.cj.jdbc.Driver
- # jpa:
- # properties:
- # hibernate:
- # enable_lazy_load_no_trans: true
- # show-sql: true
- # database: mysql
- # hibernate:
- # ddl-auto: update
- # database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
- # open-in-view: true
- management:
- endpoints:
- web:
- exposure:
- include: "*" # * 在yaml 文件属于关键字,所以需要加引号
- mybatis-plus:
- configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- # mapper.xml文件所存放的位置
- mapper-locations: classpath*:com/huimv/lamp/mapper/xml/*.xml # 不加这一行出错:“org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)”
- # mapper-locations: classpath:com/huimv/center/mappers/**/*Mapper.xml
|