Brak opisu

application.yml 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. #debug: true
  2. #server:
  3. # port: 9090 #端口配置,每个配之前需要输入 空格
  4. spring:
  5. profiles:
  6. active: pro #生产环境%测试环境
  7. #解决 springboot 升版后文件上传问题
  8. mvc:
  9. hiddenmethod:
  10. filter:
  11. enabled: true
  12. servlet:
  13. multipart:
  14. max-request-size: -1
  15. max-file-size: -1
  16. # redis:
  17. # database: 0
  18. # host: 47.99.170.144
  19. #port: 6379
  20. #password: lhzx_lhjg!@#123
  21. #timeout: 1000
  22. main:
  23. allow-bean-definition-overriding: true
  24. swagger:
  25. # 如果需要屏蔽 swagger 资源
  26. # production: true
  27. basic:
  28. # 开启 认证功能
  29. enable: true
  30. # 如果未配置用户名密码默认:admin/123321
  31. ## Basic认证用户名
  32. username: jinghang
  33. ## Basic认证密码
  34. password: jinghang
  35. # datasource:
  36. # type: com.alibaba.druid.pool.DruidDataSource #数据源插件
  37. # druid:
  38. # driver-class-name: com.mysql.cj.jdbc.Driver #zhylplatDB是数据库
  39. # url: jdbc:mysql://47.99.170.144:3306/zhylplatDB?useUnicode=true&useSSL=false&characterEncoding=utf8&serverTimezone=Hongkong
  40. # username: root
  41. # password: passw0rd
  42. # jackson:
  43. # date-format: yyyy-MM-dd HH:mm:ss #注意时区!!!!
  44. # time-zone: GMT+8
  45. # locale: zh_CN
  46. #mybatis-plus:
  47. # configuration:
  48. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #可以在控制台打印出SQL语句
  49. #阿里云短信服务
  50. sms:
  51. #产品名称:云通信短信API产品,开发者无需替换
  52. product: Dysmsapi
  53. #产品域名,开发者无需替换
  54. domain: dysmsapi.aliyuncs.com
  55. #Access Key ID
  56. accessKeyId:
  57. #Access Key Secret
  58. accessKeySecret:
  59. #与区级平台对接接口 api 分配的签名信息
  60. api:
  61. appKey:
  62. appSecret:
  63. #与经济总屏平台对接接口 api 分配的签名信息
  64. bureau:
  65. api:
  66. appKey:
  67. appSecret:
  68. #token 过期时间 和 刷新时间
  69. token:
  70. #过期时间 和 刷新时间(天为单位)
  71. overDate: 1
  72. refreshDate: 1
  73. #过期时间 和 刷新时间(小时为单位)
  74. overTime: 1
  75. refreshTime: 1
  76. #微信小程序-智慧园林
  77. wx:
  78. #微信小程序的 appId
  79. appId: wx97a5a9e16d2ee2fa
  80. #微信小程序的 appSecret
  81. appSecret: b63bd0cd6d9c026aa2153dd088b6af23
  82. #事项办理进度通知模板 ID
  83. templateId:
  84. mybatis-plus:
  85. configuration:
  86. map-underscore-to-camel-case: true
  87. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  88. global-config:
  89. #数据库相关配置
  90. db-config:
  91. #逻辑删除配置
  92. logic-delete-value: 1 # 默认1是已删除的
  93. logic-not-delete-value: 0 # 默认0未删除
  94. mapper-locations: classpath:/mapper/null/*.xml,classpath:/mapper*/*.xml,classpath:/mapper*/**/*.xml,classpath:/moduleZhjc*/**/*.xml
  95. type-aliases-package: com.yt.zhylplat.entity,com.yt.zhylplat.*.entity
  96. #mybatis的配置,映射xml和
  97. #mybatis-plus:
  98. # mapper-locations:
  99. # classpath: /mapper/null/*.xml
  100. # type-aliases-package: com.yt.zhylplat.entity
  101. file:
  102. url:
  103. pre: