玛尔挡水温监测系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. ruoyi:
  2. # 安全配置
  3. security:
  4. # IP黑名单
  5. ips:
  6. - 1.1.1.1
  7. # 放行白名单
  8. whites:
  9. - /captcha
  10. - /login
  11. - /logout
  12. - /register
  13. - /solon-admin/**
  14. - /healthz
  15. - /doc.html
  16. - /swagger-resources
  17. - /swagger/*
  18. - /webjars/js/**
  19. - /webjars/css/**
  20. # XSS配置
  21. xss:
  22. # 过滤开关
  23. enabled: true
  24. # 排除路径
  25. excludes:
  26. # - /system/notice
  27. # 验证码配置
  28. captcha:
  29. # 验证码开关
  30. enabled: true
  31. # 干扰类型: line 线段干扰、circle 圆圈干扰、shear 扭曲干扰
  32. invadeType: line
  33. # 验证码类型: math 四则运算、char 字符
  34. type: math
  35. # 登录配置
  36. login:
  37. # 登录失败最大次数
  38. errorCount: 5
  39. # 登录失败达最大次数后的锁定时长(单位:分钟)
  40. lockTime: 10
  41. # 代码生成配置
  42. gen:
  43. # 作者
  44. author: ruoyi
  45. # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
  46. packageName: com.ruoyi.system
  47. # 自动去除表前缀,默认是false
  48. autoRemovePre: false
  49. # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
  50. tablePrefix: demo_
  51. # 忽略的表前缀(不会查询这些前缀的表)
  52. ignoreTablePrefix: [qrtz_, gen_, sys_]
  53. # 文件配置
  54. file:
  55. # 允许上传的文件大小(单位:MB,设为-1不限制)
  56. maxSize: 2
  57. # 允许上传的文件类型
  58. fileType: [jpg, jpeg, png, doc, docx, xls, xlsx, ppt, txt, pdf, zip]
  59. # 本地保存路径
  60. savePath: D:/ruoyi/uploadPath
  61. # 本地文件请求路径前缀
  62. requestPrefix: http://localhost:90/ruoyi-file
  63. server:
  64. request:
  65. # 设定最大的请求包大小(或表单项的值大小,默认:2M)
  66. maxBodySize: 2mb
  67. # 最大的上传文件大小(默认使用 maxBodySize 配置值)
  68. maxFileSize: 5mb
  69. # 最大的请求头大小(默认:8k)
  70. maxHeaderSize: 8kb
  71. # 请求体编码
  72. encoding: utf-8
  73. response:
  74. # 响应体编码
  75. encoding: utf-8
  76. solon:
  77. # 序列化
  78. serialization:
  79. json:
  80. dateAsFormat: yyyy-MM-dd HH:mm:ss # 配置日期格式(默认输出为时间戳)
  81. dateAsTimeZone: GMT+8 # 配置时区
  82. # dateAsTicks: false # 将date转为毫秒数(和 dateAsFormat 二选一)
  83. longAsString: true # 将long型转为字符串输出(默认为false)
  84. boolAsInt: false # 将bool型转为字符串输出(默认为false)
  85. nullStringAsEmpty: false
  86. nullBoolAsFalse: false
  87. nullNumberAsZero: false
  88. nullArrayAsEmpty: false
  89. nullAsWriteable: false # 输出所有null值
  90. enumAsName: false # 枚举使用名字
  91. # 监控服务端配置
  92. admin:
  93. server:
  94. # 心跳速率,单位:毫秒
  95. heartbeatInterval: 10000
  96. # 客户端监控周期,单位:毫秒
  97. clientMonitorPeriod: 5000
  98. # 连接超时,单位:毫秒
  99. connectTimeout: 5000
  100. # 读取超时,单位:毫秒
  101. readTimeout: 5000
  102. # 界面路径(自定义时要以'/'结尾)
  103. uiPath: /solon-admin/
  104. # 基础签权(可以多个)
  105. basicAuth:
  106. admin: 123456
  107. # 监控客户端配置
  108. client:
  109. # 令牌:监视接口的安全控制
  110. token: 3C41D632-A070-060C-40D2-6D84B3C07094
  111. # 连接超时,单位:毫秒
  112. connectTimeout: 5000
  113. # 读取超时,单位:毫秒
  114. readTimeout: 5000
  115. # 是否向服务端发送敏感信息,如环境变量等
  116. showSecretInformation: false
  117. # 监控项配置
  118. health:
  119. # 可选: *、disk、cpu、jvm、memory、os、qps(多个用,分隔)
  120. detector: "*"
  121. # 接口文档
  122. docs:
  123. routes:
  124. - id: openapi
  125. groupName: 系统接口
  126. info:
  127. title: 接口文档
  128. description: 在线API文档
  129. # termsOfService: https://gitee.com/noear/solon
  130. contact:
  131. name: ruoyi
  132. version: 1.0
  133. schemes:
  134. - HTTP
  135. - HTTPS
  136. globalResponseInData: true
  137. globalResult: org.noear.solon.core.handle.Result
  138. apis:
  139. - basePackage: com.ruoyi.web.controller
  140. sa-token:
  141. # token名称(同时也是 cookie名称)
  142. token-name: Authorization
  143. # token前缀
  144. token-prefix: Bearer
  145. # token有效期(单位:秒) 默认30天,-1 代表永久有效
  146. timeout: 2592000
  147. # token临时有效期 (指定时间内无操作就视为token过期,单位:秒),默认-1 代表不限制,永不冻结
  148. active-timeout: -1
  149. # 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)
  150. is-concurrent: false
  151. # 在多人登录同一账号时,是否共用一个 token (为 true 时所有登录共用一个 token, 为 false 时每次登录新建一个 token)
  152. is-share: true
  153. # token风格(默认可取值:uuid、simple-uuid、random-32、random-64、random-128、tik)
  154. token-style: uuid
  155. # 是否输出操作日志
  156. is-log: true
  157. # mybatis-flex 数据源及 mybatis配置
  158. mybatis-flex:
  159. # 动态数据源
  160. datasource:
  161. sqlite:
  162. type: com.zaxxer.hikari.HikariDataSource
  163. driverClassName: org.sqlite.JDBC
  164. jdbcUrl: jdbc:sqlite::resource:static/cmc-temperature.db?date_string_format=yyyy-MM-dd HH:mm:ss
  165. username:
  166. password:
  167. access:
  168. type: com.zaxxer.hikari.HikariDataSource
  169. driverClassName: net.ucanaccess.jdbc.UcanaccessDriver
  170. # jdbcUrl: jdbc:ucanaccess:///home/cmcgis/projects/cmc-temperature/Data/SKREC_ID1.accdb;showSchema=false;sysSchema=false;memory=false;keepMirror=true;immediatelyReleaseResources=true;openExclusive=false;net.ucanaccess.metadata=ignore;ignoreCase=true;logLevel=WARNING;newDatabaseVersion=V2007
  171. jdbcUrl: jdbc:ucanaccess://E:/Java/cmc-temperature/cmc-temperature-back/sql/Data/SKREC_ID1.accdb;memory=false;keepMirror=true;immediatelyReleaseResources=true;ignorecase=true;showschema=false;sysschema=false;openExclusive=false
  172. username:
  173. password:
  174. # type: com.zaxxer.hikari.HikariDataSource
  175. # driverClassName: com.mysql.cj.jdbc.Driver
  176. # jdbcUrl: jdbc:mysql://127.0.0.1:3306/ry-vue?useUnicode=true&characterEncoding=utf8&autoReconnect=true&rewriteBatchedStatements=true
  177. # username: root
  178. # password:
  179. # slave_1:
  180. # type: com.zaxxer.hikari.HikariDataSource
  181. # driverClassName: com.mysql.cj.jdbc.Driver
  182. # jdbcUrl: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf8&autoReconnect=true&rewriteBatchedStatements=true
  183. # username: root
  184. # password:
  185. # 实体扫描
  186. type-aliases-package:
  187. - com.ruoyi.system.domain.*
  188. - com.cmc.temperature.domain.*
  189. # mapper扫描
  190. mapper-locations:
  191. # 如果没有对应 xml文件的 mapper,必须配置一下 mapper的扫描路径
  192. # - com.ruoyi.system.mapper.*
  193. # 如果有 xml文件,只需要配置 xml文件的扫描路径,xml对应的 mapper会自动关联进去
  194. - classpath:mapper/**/*.xml
  195. # Mybatis 的扩展配置
  196. configuration:
  197. cacheEnabled: false
  198. mapUnderscoreToCamelCase: true
  199. # Mybatis-Flex 的全局配置
  200. global-config:
  201. print-banner: true
  202. # 不配置逻辑删除字段将会真删除
  203. logic-delete-column: del_flag
  204. # 主键配置
  205. key-config:
  206. # Auto自增
  207. key-type: Auto
  208. # value:
  209. # Redis配置
  210. redis:
  211. cache_source:
  212. # config: |
  213. # singleServerConfig:
  214. # address: redis://cmc-redis:6379
  215. # password:
  216. # database: 7
  217. # codec: !<org.redisson.codec.JsonJacksonCodec> {}
  218. config: |
  219. singleServerConfig:
  220. address: redis://localhost:6379
  221. password:
  222. database: 7
  223. codec: !<org.redisson.codec.JsonJacksonCodec> {}
  224. # 分页插件配置
  225. pagehelper:
  226. offsetAsPageNum: true
  227. rowBoundsWithCount: true
  228. pageSizeZero: false
  229. reasonable: true
  230. params: pageNum=pageHelperStart;pageSize=pageHelperRows;
  231. supportMethodsArguments: false
  232. # 接口文档配置
  233. knife4j:
  234. # 开启增强配置
  235. enable: true
  236. # 开启生产环境屏蔽
  237. production: false
  238. # 签权
  239. basic:
  240. enable: true
  241. username: admin
  242. password: 123456
  243. # 前端UI的个性化配置
  244. setting:
  245. enableVersion: true
  246. enableOpenApi: false
  247. enableFooter: false