application.yml 648 B

123456789101112131415161718192021222324252627282930313233343536
  1. spring:
  2. profiles:
  3. active: dev
  4. server:
  5. port: 8002
  6. mybatis:
  7. mapperLocations: classpath*:mapper/*/*.xml
  8. typeAliasesPackage: com.fdage.pojo
  9. configuration:
  10. map-underscore-to-camel-case: true
  11. # page分页
  12. pagehelper:
  13. helperDialect: mysql
  14. reasonable: true
  15. supportMethodsArguments: true
  16. params: count=countSql
  17. project:
  18. sc: 常熟博物馆
  19. en: museum_changshu
  20. # tk.mybatis 配置自动识别字段转换
  21. #mapper:
  22. # identity: MYSQL
  23. # mappers: tk.mybatis.mapper.common.Mapper
  24. # 允许上传文件后缀
  25. my:
  26. file:
  27. allow: .jpg,.gif,.png,.ico,.bmp,.jpeg,.zip,.zp,.rar,.mp3,.mp4,.avi,.mov,.4dage,.wav,.wma,.m4a,.obj