application.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. server:
  2. port: 8084
  3. tomcat:
  4. max-http-form-post-size:
  5. #数据源配置
  6. spring:
  7. jackson:
  8. #日期格式化
  9. date-format: yyyy-MM-dd HH:mm:ss
  10. time-zone: GMT+8
  11. datasource:
  12. # url: jdbc:mysql://127.0.0.1:3306/repairs?characterEncoding=utf-8&useSSL=FALSE&useAffectedRows=TRUE&allowMultiQueries=true&serverTimezone=GMT%2B8
  13. url: jdbc:mysql://192.168.1.41:3306/repairs?characterEncoding=utf-8&useSSL=FALSE&useAffectedRows=TRUE&allowMultiQueries=true&serverTimezone=GMT%2B8
  14. #driver-class-name: com.mysql.jdbc.Driver
  15. # mysql6以上需要使用下面的连接配置
  16. driver-class-name: com.mysql.cj.jdbc.Driver
  17. username: root
  18. password: root
  19. #数据库方言
  20. jpa:
  21. database-platform: org.hibernate.dialect.MySQLDialect
  22. #配置文件传输的大小
  23. servlet:
  24. multipart:
  25. enabled: true
  26. file-size-threshold: 0
  27. max-file-size: 100MB
  28. max-request-size: 100MB
  29. logging:
  30. config:
  31. classpath: log4j.properties
  32. #mybatis配置
  33. mybatis:
  34. mapper-locations: classpath:mapper/**/*.xml
  35. # 图片地址
  36. img:
  37. # 图片保存地址
  38. #saveLocation: E:\devImg\repair\
  39. saveLocation: /usr/local/nginx-1.18.0/html/repair_reporting_system/repair_image/
  40. # 图片预览地址
  41. #showHost: http://10.244.137.3/dev-img/
  42. showHost: https://jtishfw.ncjti.edu.cn/baoxiu/dev-img/
  43. #show-host: http://192.168.31.115/dev-img/
  44. # show-host: http://192.168.1.41/dev-img/
  45. #微校相关配置
  46. weixiao:
  47. app_key: EE28EE2C93296F4E
  48. app_secret: 5071958561AA629530AAA31503088330
  49. ocode: 1015730314
  50. #serverUrl: http://10.244.137.3:8084
  51. requestUrl: https://jtishfw.ncjti.edu.cn/baoxiu/repair-h5
  52. serverUrl: https://jtishfw.ncjti.edu.cn/baoxiu/
  53. title: 故障维修通知
  54. content: 用户您好,您的故障报修单已被维修师傅接单,维修师傅将于半小时后上门维修;请合理安排时间,谢谢合作。
  55. sender: 维修管理办公室