12345678910111213141516171819202122232425262728293031323334 |
- server:
- port: 8000
- servlet:
- context-path: /bailianAi
- encoding:
- enabled: true
- force: true
- charset: utf-8
- # 数据源配置
- spring:
- profiles:
- active: dev
- application:
- name: bailian-ai #当前服务的名称
- #mybatis-plus配置
- mybatis-plus:
- mapper-locations: classpath:/mapper/**/*.xml #告诉mybatis数据库映射文件mapper.xml的位置
- # configuration:
- # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #显示sql日志
- global-config:
- db-config:
- id-type: auto
- #分页配置
- pagehelper:
- helper-dialect: mysql
- reasonable: true
- support-methods-arguments: true
- params: count=countSql
|