application.yml 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032
  1. #======================================#
  2. #========== Project settings ==========#
  3. #======================================#
  4. # 产品或项目名称、软件开发公司名称
  5. productName: MES生产管理系统
  6. companyName: 安徽裕洋新能源科技有限公司
  7. # 产品版本、版权年份
  8. productVersion: V1.0
  9. copyrightYear: 2026
  10. # 是否演示模式
  11. demoMode: false
  12. # 专为分离端提供接口服务
  13. apiMode: false
  14. tess4j:
  15. datapath: D:/tessdata
  16. #======================================#
  17. #========== Server settings ===========#
  18. #======================================#
  19. server:
  20. port: 8980
  21. servlet:
  22. context-path: /js
  23. register-default-servlet: false
  24. # encoding.enabled: true
  25. tomcat:
  26. uri-encoding: UTF-8
  27. # 表单请求数据的最大大小
  28. max-http-form-post-size: 20MB
  29. # # 进程的最大连接数
  30. # max-connections: 8192
  31. # # 连接数满后的排队个数
  32. # accept-count: 100
  33. # # 线程数最大和最小个数
  34. # threads:
  35. # max: 200
  36. # min-spare: 10
  37. # 当 Nginx 为 https,tomcat 为 http 时,设置该选项为 true
  38. schemeHttps: false
  39. #======================================#
  40. #========== Database sttings ==========#
  41. #======================================#
  42. # 数据库连接
  43. jdbc:
  44. # Mysql 数据库配置
  45. type: mysql
  46. driver: com.mysql.cj.jdbc.Driver
  47. # url: jdbc:mysql://127.0.0.1:3306/mes_cloud_dy?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true
  48. # url: jdbc:mysql://127.0.0.1:3306/mes_cloude_npd?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true
  49. url: jdbc:mysql://192.168.9.181:3306/mes_cloud?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true
  50. username: mes_cloud
  51. password: s2ENj7KaEySTC7dW
  52. # username: root
  53. # password: root
  54. testSql: SELECT 1
  55. # # Oracle 数据库配置(若使用 12c,请修改 /modules/core/pom.xml 文件,打开 12c 依赖,去掉 11g 依赖)
  56. # type: oracle
  57. # driver: oracle.jdbc.OracleDriver
  58. # url: jdbc:oracle:thin:@127.0.0.1:1521/orcl
  59. # username: jeesite
  60. # password: jeesite
  61. # testSql: SELECT 1 FROM DUAL
  62. # # Sql Server 数据库配置(2008)
  63. # type: mssql
  64. # driver: net.sourceforge.jtds.jdbc.Driver
  65. # url: jdbc:jtds:sqlserver://127.0.0.1:1433/jeesite
  66. # username: jeesite
  67. # password: jeesite
  68. # testSql: SELECT 1
  69. # # Sql Server 数据库配置(2012以上版本)(请修改 /modules/core/pom.xml 文件,打开 SqlServer 2012 依赖)
  70. # type: mssql2012
  71. # driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
  72. # url: jdbc:sqlserver://127.0.0.1:1433;DatabaseName=jeesite
  73. # username: jeesite
  74. # password: jeesite
  75. # testSql: SELECT 1
  76. # # PostgreSql 数据库配置
  77. # type: postgresql
  78. # driver: org.postgresql.Driver
  79. # url: jdbc:postgresql://127.0.0.1:5432/jeesite
  80. # username: jeesite
  81. # password: jeesite
  82. # testSql: SELECT 1
  83. # # H2 数据库配置(请修改 /modules/core/pom.xml 文件,打开 H2 DB 依赖)
  84. # type: h2
  85. # driver: org.h2.Driver
  86. # url: jdbc:h2:~/jeesite-db/jeesite
  87. # username: jeesite
  88. # password: jeesite
  89. # testSql: SELECT 1
  90. # 连接信息加密
  91. encrypt:
  92. # 加密连接用户名
  93. username: false
  94. # 加密连接密码
  95. password: true
  96. # 数据库连接池配置
  97. pool:
  98. # 初始化连接数
  99. init: 1
  100. # 最小空闲连接数
  101. minIdle: 5
  102. # 最大激活连接数
  103. maxActive: 100
  104. # # 获取连接等待超时时间,单位毫秒(1分钟)(4.0.6+)
  105. # maxWait: 60000
  106. #
  107. # # 从池中取出和归还连接前进行检验,如果检验失败,则从池中去除连接并尝试取出另一个(4.0.6+)
  108. # testOnBorrow: false
  109. # testOnReturn: false
  110. #
  111. # # 间隔多久才进行一次检测,检测需要关闭的空闲连接,单位毫秒(1分钟)(4.0.6+)
  112. # timeBetweenEvictionRunsMillis: 60000
  113. #
  114. # # 一个连接在池中最小空闲的时间,单位毫秒(20分钟)(4.0.6+)
  115. # minEvictableIdleTimeMillis: 1200000
  116. # # 一个连接在池中最大空闲的时间,单位毫秒(30分钟)(4.1.2+)
  117. # maxEvictableIdleTimeMillis: 1800000
  118. #
  119. # # 连接池中的minIdle数量以内的连接,空闲时间超过minEvictableIdleTimeMillis,则会执行keepAlive操作(4.1.8+)
  120. # keepAlive: false
  121. #
  122. # # 是否自动回收泄露的连接和超时时间,单位秒(35分钟)(4.0.6+)
  123. # removeAbandoned: false
  124. # removeAbandonedTimeout: 2100
  125. #
  126. # # Oracle 下会自动开启 PSCache,并指定每个连接上 PSCache 大小。若不指定,则与 maxActive 相同(4.1.5+)
  127. # maxPoolPreparedStatementPerConnectionSize: ~
  128. #
  129. # # 设置连接属性,可获取到表的 remark (备注)
  130. # remarksReporting: false
  131. # # 读写分离配置(专业版)v4.3.0
  132. # readwriteSplitting:
  133. # # 读库的数据源名称列表(默认数据源)
  134. # readDataSourceNames: ds_read_01, ds_read_02
  135. # # 负载均衡算法(ROUND_ROBIN轮询、RANDOM随机、自定义类名)
  136. # loadBalancerAlgorithm: RANDOM
  137. #
  138. # # 多数据源名称列表,多个用逗号隔开,使用方法:@MyBatisDao(dataSourceName="ds2")
  139. # dataSourceNames: ds_read_01, ds_read_02
  140. #
  141. # # 默认数据源的从库01
  142. # ds_read_01:
  143. # type: mysql
  144. # driver: com.mysql.cj.jdbc.Driver
  145. # url: jdbc:mysql://127.0.0.1:3306/jeesite_test?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai
  146. # username: root
  147. # password: 123456
  148. # testSql: SELECT 1
  149. # pool:
  150. # init: 1
  151. # minIdle: 3
  152. # maxActive: 20
  153. #
  154. # # 默认数据源的从库02
  155. # ds_read_02:
  156. # type: mysql
  157. # driver: com.mysql.cj.jdbc.Driver
  158. # url: jdbc:mysql://127.0.0.1:3306/jeesite_test2?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai
  159. # username: root
  160. # password: 123456
  161. # testSql: SELECT 1
  162. # pool:
  163. # init: 1
  164. # minIdle: 3
  165. # maxActive: 20
  166. # # 多数据源名称列表,多个用逗号隔开,使用方法:@MyBatisDao(dataSourceName="ds2")
  167. # dataSourceNames: ds2
  168. ##
  169. ## # 多数据源配置:ds2
  170. # ds2:
  171. # type: mysql
  172. # driver: com.mysql.cj.jdbc.Driver
  173. # url: jdbc:mysql://127.0.0.1:3306/oa?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai
  174. # username: root
  175. # password: 123456
  176. # testSql: SELECT 1
  177. # # 其它数据源支持密码加密
  178. # encrypt:
  179. # username: false
  180. # password: true
  181. # # 其它数据源支持连接池设置
  182. # pool:
  183. # init: 1
  184. # minIdle: 3
  185. # maxActive: 20
  186. # # 其它数据源支持读写分离
  187. # readwriteSplitting:
  188. # readDataSourceNames: ~
  189. # loadBalancerAlgorithm: RANDOM
  190. # # 数据源映射(Dao类名 = 数据源名称),优先于 @MyBatisDao(dataSourceName="ds2") 设置 v4.3.0
  191. # # Dao类名,不仅支持某个具体 Dao类名,还支持 Dao 里的某个方法指定数据源名称,还支持包路径指定数据源等
  192. # # 数据源名指定 {empty} 时支持动态,相当于 @MyBatisDao(dataSourceName=DataSourceHolder.EMPTY)
  193. # # 数据源支持指定变量 {corpCode}、 {userCode}、{userCache中的Key名}、{yml或sys_config中的Key名}
  194. # # 从上到下,先匹配先受用规则,默认数据源名为 default 扩展数据源为 dataSourceNames 列表里自定义的名字
  195. # mybatisDaoAndDataSourceMappings: |
  196. # TestDataChildDao = ds2
  197. # EmpUserDao.findList = ds2
  198. # com.jeesite.modules.sys = default
  199. # com.jeesite.modules.filemanager = ds2
  200. # # JTA XA 事务(v4.0.4+)
  201. # jta:
  202. # enabled: false
  203. # 注意:如果报 oracle.jdbc.xa.OracleXAResource.recover 错误,则需要授权如下:
  204. # grant select on sys.dba_pending_transactions to jeesite;
  205. # grant select on sys.pending_trans$ to jeesite;
  206. # grant select on sys.dba_2pc_pending to jeesite;
  207. # grant execute on sys.dbms_system to jeesite;
  208. # # 事务超时时间,单位秒(30分钟)(v4.1.5+)
  209. # transactionTimeout: 1800
  210. #
  211. # # 表名和字段名(前缀|后缀)是否强制大写(v4.1.8+)
  212. # tableAndColumn:
  213. # prefixSuffix: "`|`"
  214. # forceUpperCase: true
  215. #
  216. # # 表名前缀
  217. # tablePrefix: js_
  218. #======================================#
  219. #========== Spring settings ===========#
  220. #======================================#
  221. spring:
  222. # 应用程序名称
  223. application:
  224. name: jeesite-web
  225. # 环境名称(注意:不可设置为 test 它是单元测试专用的名称)
  226. profiles:
  227. active: default
  228. # 打印横幅
  229. main:
  230. bannerMode: "off"
  231. # MVC 映射匹配策略
  232. mvc:
  233. pathmatch:
  234. matching-strategy: ANT_PATH_MATCHER
  235. # # Redis 连接参数 (RedisProperties)
  236. # redis:
  237. # host: 127.0.0.1
  238. # port: 6379
  239. # ssl: false
  240. # database: 0
  241. # password: 1234
  242. # timeout: 20000
  243. # lettuce:
  244. # pool:
  245. # # 最大空闲连接数
  246. # maxIdle: 3
  247. # # 最大活动连接数
  248. # maxActive: 20
  249. #
  250. # # 缓存配置
  251. # cache:
  252. # # 缓存及会话共享(专业版)
  253. # isClusterMode: true
  254. # # 清理全部缓存按钮所清理的缓存列表
  255. # clearNames: sysCache,corpCache,userCache,roleCache,fileUploadCache,msgPcPoolCache,cmsCache,bpmFormCache
  256. # # 用户缓存
  257. # userCache:
  258. # clearTaskPool:
  259. # corePoolSize: 5
  260. # maxPoolSize: 20
  261. # keepAliveSeconds: 60
  262. elasticsearch:
  263. rest:
  264. uris: 127.0.0.1:9200
  265. # 日志配置
  266. logging:
  267. config: classpath:config/logback-spring.xml
  268. #======================================#
  269. #========== System settings ===========#
  270. #======================================#
  271. # 管理基础路径
  272. #adminPath: /a
  273. # 前端基础路径
  274. #frontPath: /f
  275. # 分页相关
  276. #page:
  277. #
  278. # # 默认每页显示的数据条数
  279. # pageSize: 20
  280. #
  281. # # 每页最大条数,防止分页过大导致系统缓慢或内存溢出
  282. # maxPageSize: 999
  283. # 用户相关
  284. user:
  285. # # 指定超级管理员编号(研发团队使用的账号)
  286. # superAdminCode: system
  287. #
  288. # # 超级管理员获取菜单的最小权重(默认20;>=40二级管理员;>=60系统管理员;>=80超级管理员)
  289. # superAdminGetMenuMinWeight: 40
  290. #
  291. # # 系统管理员角色编号(客户方管理员使用的角色)
  292. # corpAdminRoleCode: corpAdmin
  293. #
  294. # # 二级管理员的控制权限类型(1拥有的权限 2管理的权限,管理功能包括:用户管理、组织机构、公司管理等)(v4.1.5+)
  295. # adminCtrlPermi: 2
  296. # 多租户模式(SAAS模式)(专业版)
  297. useCorpModel: false
  298. # # 登录账号是否租户内唯一,否则全局唯一
  299. # loginCodeCorpUnique: false
  300. #
  301. # # 是否启用验证码登录(手机、邮箱)
  302. # loginByValidCode: true
  303. #
  304. # # 用户类型配置信息(employee员工,member会员,btype往来单位,persion个人,expert专家,...),JSON 格式说明如下:
  305. # # {"用户类型":{"beanName":"Service或Dao的Bean名称","loginView":"登录页面视图","indexView":"主框架页面视图,支持 redirect: 前缀"}}
  306. # userTypeMap: >
  307. # {
  308. # employee: {beanName: "employeeService", loginView: "", indexView: "modules/sys/sysIndex"},
  309. # member: {beanName: "memberService", loginView: "", indexView: "modules/sys/sysIndexMember"},
  310. # btype: {beanName: "btypeInfoService", loginView: "", indexView: "modules/sys/sysIndexBtype"},
  311. # expert: {beanName: "expertService", loginView: "", indexView: "modules/sys/sysIndexExpert"}
  312. # }
  313. #
  314. # # 数据权限设置参数,可新增自定义数据权限,moduleCode: 针对模块, ctrlPermi: 权限类型, 0全部 1拥有权限 2管理权限
  315. # dataScopes: >
  316. # [{
  317. # moduleCode: "core",
  318. # ctrlPermi: "0",
  319. # ctrlName: "机构权限",
  320. # ctrlName_en: "Office",
  321. # ctrlType: "Office",
  322. # ctrlDataUrl: "/sys/office/treeData",
  323. # chkboxType: {"Y":"ps","N":"ps"},
  324. # expandLevel: -1,
  325. # remarks: ""
  326. # },{
  327. # moduleCode: "core",
  328. # ctrlName: "公司权限",
  329. # ctrlName_en: "Company",
  330. # ctrlType: "Company",
  331. # ctrlPermi: "0",
  332. # ctrlDataUrl: "/sys/company/treeData",
  333. # chkboxType: {"Y":"ps","N":"ps"},
  334. # expandLevel: -1,
  335. # remarks: ""
  336. # },{
  337. # moduleCode: "core",
  338. # ctrlName: "角色权限",
  339. # ctrlName_en: "Role",
  340. # ctrlType: "Role",
  341. # ctrlPermi: "2",
  342. # ctrlDataUrl: "/sys/role/treeData",
  343. # chkboxType: {"Y":"ps","N":"ps"},
  344. # expandLevel: -1,
  345. # remarks: ""
  346. # }]
  347. #
  348. # # 数据权限调试模式(会输出一些日志)
  349. # dataScopeDebug: false
  350. #
  351. # # 数据权限使用 API 方式实现(适应 Cloud 环境,基础用户表与业务数据表跨库的情况)
  352. # # 开启后设置 ctrlDataAttrName 加 AndChildren 后缀,ctrlDataParentCodesAttrName 清空
  353. # # 以方便读取树结构数据权限的表时包含子节点,举例如下:
  354. # # ctrlDataAttrName: "officeCodesAndChildren", ctrlDataParentCodesAttrName: ""
  355. # dataScopeApiMode: false
  356. # 角色管理
  357. #role:
  358. # # 扩展数据权限定义:3:本部门;4:本公司;5:本部门和本公司
  359. # extendDataScopes: >
  360. # {
  361. # 3: {
  362. # Office: {
  363. # #控制类型的类名 : "用来获取控制表名和主键字段名,如果为 NONE,则代表是不控制该类型权限",
  364. # ctrlTypeClass: "com.jeesite.modules.sys.entity.Office",
  365. # #控制数据的类名: "指定一个静态类名,方便 ctrlDataAttrName 得到权限数据,如:当前机构编码、当前公司编码、当前行业编码等",
  366. # ctrlDataClass: "com.jeesite.modules.sys.utils.EmpUtils",
  367. # #控制数据的类名下的属性名 : "可看做 ctrlDataClass 下的 get 方法,如:EmpUtils.getOfficeCodes(),支持返回字符串或字符串数组类型",
  368. # ctrlDataAttrName: "officeCodes",
  369. # #控制数据的所有上级编码 : "用于控制数据为树表的情况,为数组时,必须与 ctrlDataAttrName 返回的长度相同,不是树表设置为空",
  370. # ctrlDataParentCodesAttrName: "officeParentCodess"
  371. # },
  372. # Company: {
  373. # ctrlTypeClass: "NONE"
  374. # }
  375. # },
  376. # 4: {
  377. # Office: {
  378. # ctrlTypeClass: "NONE"
  379. # },
  380. # Company: {
  381. # ctrlTypeClass: "com.jeesite.modules.sys.entity.Company",
  382. # ctrlDataClass: "com.jeesite.modules.sys.utils.EmpUtils",
  383. # ctrlDataAttrName: "company.companyCode",
  384. # ctrlDataParentCodesAttrName: "company.parentCodes"
  385. # }
  386. # },
  387. # 5: {
  388. # Office: {
  389. # ctrlTypeClass: "com.jeesite.modules.sys.entity.Office",
  390. # ctrlDataClass: "com.jeesite.modules.sys.utils.EmpUtils",
  391. # ctrlDataAttrName: "officeCodes",
  392. # ctrlDataParentCodesAttrName: "officeParentCodess"
  393. # },
  394. # Company: {
  395. # ctrlTypeClass: "com.jeesite.modules.sys.entity.Company",
  396. # ctrlDataClass: "com.jeesite.modules.sys.utils.EmpUtils",
  397. # ctrlDataAttrName: "company.companyCode",
  398. # ctrlDataParentCodesAttrName: "company.parentCodes"
  399. # }
  400. # }
  401. # }
  402. # 菜单管理
  403. #menu:
  404. # # 根据模块状态去更新相连的菜单状态
  405. # updateStatusByModuleStatus: false
  406. # 国际化管理(专业版)
  407. lang:
  408. enabled: false
  409. # # 默认语言(4.1.3+)
  410. # defaultLocale: zh_CN
  411. # # 默认时区(4.1.3+)
  412. # defaultTimeZone: GMT+08:00
  413. # 任务调度(标准版)
  414. job:
  415. enabled: false
  416. # # 是否自动启动任务调度(可关闭)
  417. # autoStartup: true
  418. #
  419. # # 任务调度启动延迟设置(单位:秒)(建议设置项目启动完成后的时间)
  420. # startupDelay: 60
  421. #
  422. # # 任务调度线程池
  423. # threadPool:
  424. # threadCount: 10
  425. # threadPriority: 5
  426. #
  427. # # 调度设置,集群中每一个实例都必须使用相同的instanceName名称 (区分特定的调度器实例)
  428. # # 在微服务模式情况下,请将instanceName名称设置为当前微服务的名称
  429. # # 每一个instanceId必须不同,设置AUTO则自动生成
  430. # scheduler:
  431. # instanceName: JeeSiteScheduler
  432. # #instanceName: ${spring.application.name}
  433. # instanceId: AUTO
  434. #
  435. # # 任务调度集群设置
  436. # jobStore:
  437. # isClustered: true
  438. # dataSourceName: job
  439. # clusterCheckinInterval: 1000
  440. # className: org.springframework.scheduling.quartz.LocalDataSourceJobStore
  441. # # 调度日志
  442. # log:
  443. # # 计划调度日志
  444. # scheduler:
  445. # enabled: true
  446. # # 是否只保存错误日志
  447. # errorLevel: true
  448. # # 任务执行日志
  449. # jobDetail:
  450. # enabled: true
  451. # # 是否只保存错误日志
  452. # errorLevel: true
  453. # # 计划触发日志
  454. # trigger:
  455. # enabled: false
  456. # 代码生成
  457. gen:
  458. enabled: true
  459. # # 表名字段名是否强制小写
  460. # forceLowerCase: true
  461. # 系统监控
  462. state:
  463. enabled: true
  464. #======================================#
  465. #========= Framework settings =========#
  466. #======================================#
  467. # Shiro 相关
  468. shiro:
  469. # 是否允许跨域访问 CORS,如果允许,设置允许的域名。v4.2.3 开始支持多个域名和模糊匹配,例如:http://*.jeesite.com,http://*.jeesite.net
  470. accessControlAllowOrigin: '*'
  471. # 允许跨域访问时 CORS,可以获取和返回的方法和请求头
  472. accessControlAllowMethods: GET, POST, OPTIONS
  473. accessControlAllowHeaders: content-type, x-requested-with, x-ajax, x-token, x-remember
  474. accessControlExposeHeaders: x-remember
  475. # 主页路径
  476. defaultPath: ${shiro.loginUrl}
  477. # 登录相关设置
  478. loginUrl: ${adminPath}/login
  479. logoutUrl: ${shiro.loginUrl}
  480. successUrl: ${adminPath}/index
  481. # # Apereo CAS 相关配置(标准版)
  482. # casServerUrl: http://127.0.0.1:8981/cas
  483. # casClientUrl: http://127.0.0.1:8980/js
  484. # loginUrl: ${shiro.casServerUrl}?service=${shiro.casClientUrl}${adminPath}/login-cas
  485. # logoutUrl: ${shiro.casServerUrl}/logout?service=${shiro.loginUrl}
  486. # successUrl: ${shiro.casClientUrl}${adminPath}/index
  487. # # LDAP 相关设置(标准版)
  488. # ldapUrl: ldap://127.0.0.1:389
  489. # ldapUserDn: uid={0},ou=users,dc=mycompany,dc=com
  490. # 简单 SSO 登录相关配置
  491. sso:
  492. # 如果启用/sso/{username}/{token}单点登录,请修改此安全key并与单点登录系统key一致。
  493. secretKey: ~
  494. # 是否加密单点登录安全Key
  495. encryptKey: true
  496. # token 时效性,如:1天:yyyyMMdd、1小时:yyyyMMddHH、1分钟:yyyyMMddHHmm
  497. encryptKeyDateFormat: yyyyMMdd
  498. # 登录提交信息加密(如果不需要加密,设置为空即可)
  499. loginSubmit:
  500. # 加密用户名、密码、验证码,后再提交(key设置为3个,用逗号分隔)加密方式:DES(4.1.9及之前版本默认设置)
  501. # v4.2.0+ 开始支持 Base64 加密方式,方便移动端及第三方系统处理认证,可直接设置 Key 为 Base64(4.2.0+默认设置)
  502. #secretKey: thinkgem,jeesite,com
  503. secretKey: Base64
  504. #secretKey: ~
  505. # 记住我密钥设置,你可以通过 com.jeesite.test.RememberMeKeyGen 类快速生成一个秘钥。
  506. # 若不设置,则每次启动系统后自动生成一个新秘钥,这样会导致每次重启后,客户端记录的用户信息将失效。
  507. rememberMe:
  508. secretKey: ~
  509. # # 指定获取客户端IP的Header名称,防止IP伪造。指定为空,则使用原生方法获取IP。
  510. # remoteAddrHeaderName: X-Forwarded-For
  511. #
  512. # # 允许的请求方法设定,解决安全审计问题(BPM设计器用到了PUT或DELETE方法)
  513. # allowRequestMethods: GET, POST, OPTIONS, PUT, DELETE
  514. #
  515. # # 是否允许账号多地登录,如果设置为false,同一个设备类型的其它地点登录的相同账号被踢下线
  516. # isAllowMultiAddrLogin: true
  517. #
  518. # # 是否允许多账号多设备登录,如果设置为false,其它地点登录的相同账号全部登录设备将被踢下线
  519. # isAllowMultiDeviceLogin: true
  520. #
  521. # # 是否允许刷新主框架页,如果设置为false,刷新主页将导致重新登录。如安全性比较高的,如银行个人首页不允许刷新。
  522. # isAllowRefreshIndex: true
  523. #
  524. # # 是否允许嵌入到外部网站iframe中(true:不限制,false:不允许)
  525. # isAllowExternalSiteIframe: true
  526. #
  527. # # 设定允许获取的资源列表(v4.2.3)
  528. # #contentSecurityPolicy: "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; img-src 'self' 'unsafe-inline' 'unsafe-eval' data:"
  529. # # 是否允许跨域访问 CORS,如果允许,设置允许的域名。v4.2.3 开始支持多个域名和模糊匹配,例如:http://*.jeesite.com,http://*.jeesite.net
  530. # accessControlAllowOrigin: '*'
  531. #
  532. # # 允许跨域访问时 CORS,可以获取和返回的方法和请求头
  533. # accessControlAllowMethods: GET, POST, OPTIONS
  534. # accessControlAllowHeaders: content-type, x-requested-with, x-ajax, x-token, x-remember
  535. # accessControlExposeHeaders: x-remember
  536. # # 是否允许接收跨域的Cookie凭证数据 CORS
  537. # accessControlAllowCredentials: false
  538. #
  539. # # 允许的网站来源地址,不设置为全部地址(避免一些跨站点请求伪造 CSRF、防盗链)
  540. # allowReferers: http://127.0.0.1,http://localhost
  541. #
  542. # # 是否在登录后生成新的Session(默认false)
  543. # isGenerateNewSessionAfterLogin: false
  544. #
  545. # # 内部系统访问过滤器,可设置多个允许的内部系统IP地址串,多个用逗号隔开
  546. # innerFilterAllowRemoteAddrs: 127.0.0.1
  547. # URI 权限过滤器定义(自定义添加参数时,请不要移除 ${adminPath}/** = user,否则会导致权限异常)
  548. # 提示:填写过滤规则,请注意先后顺序,从上到下,先匹配先受用规则,匹配成功后不再继续匹配。
  549. filterChainDefinitions: |
  550. ${adminPath}/mes/mesApp/ver = anon
  551. ${adminPath}/mes/mesLogin/login = anon
  552. ${adminPath}/mes/mesProductRecord/ghtime = anon
  553. ${adminPath}/mes/mesProductRecord/qmcheck = anon
  554. ${adminPath}/mes/mesProductRecord/qmresult = anon
  555. ${adminPath}/mes/mesProductRecord/device = anon
  556. ${adminPath}/mes/mesProduct/screen = anon
  557. ${adminPath}/mes/mesProduct/screenLiuan = anon
  558. ${adminPath}/mes/mesProduct/screenData = anon
  559. ${adminPath}/mes/mesProduct/screenData4 = anon
  560. ${adminPath}/mes/mesProduct/screenDataHourly = anon
  561. ${adminPath}/mes/mesProduct/alarmData = anon
  562. ${adminPath}/mes/mesProductCcd/testDate = anon
  563. ${adminPath}/mes/mesProductCcd/add = anon
  564. ${adminPath}/mes/mesProductRecord/currentProduct = anon
  565. ${adminPath}/mes/mesProductFsw/add = anon
  566. ${adminPath}/mes/mesProductProd/batchsave = anon
  567. ${adminPath}/mes/mesProductRecord/cnccheck = anon
  568. ${adminPath}/mes/mesProductRecord/cncresult = anon
  569. ${adminPath}/mes/mesProductRecord/select = anon
  570. ${adminPath}/mes/mesProductRecord/submit = anon
  571. ${adminPath}/mes/mesProductBs/batchsave = anon
  572. ${adminPath}/mes/mesLineProcessMaterial/materials = anon
  573. ${adminPath}/mes/mesMaterialPrebind/bind = anon
  574. ${adminPath}/mes/mesProductPush/test = anon
  575. ${adminPath}/mes/mesProcessCheckRecord/check = anon
  576. ${adminPath}/mes/mesProductRecord/work = anon
  577. ${adminPath}/mes/mesProductRecord/workData = anon
  578. ${adminPath}/mes/mesProductRecord/winfo = anon
  579. ${adminPath}/mes/mesProductRecord/updateQualityByTiming = anon
  580. ${adminPath}/mes/mesProcessCheckGz/submit = anon
  581. ${adminPath}/mes/mesProcessCheckRecord/ulist = anon
  582. ${adminPath}/mes/mesProcessCheckRecord/checkView = anon
  583. ${adminPath}/mes/mesProcessCheckRecord/addCheck = anon
  584. ${adminPath}/mes/mesProcessCheckRecord/listData = anon
  585. ${adminPath}/mes/mesProcessCheckRecord/info = anon
  586. ${adminPath}/mes/mesProcessAlarm/alarmCount = anon
  587. ${adminPath}/mes/mesProductRecord/check = anon
  588. ${adminPath}/mes/mesProductRecord/pccheck = anon
  589. ${adminPath}/mes/mesProductRecord/pcresult = anon
  590. ${adminPath}/mes/mesProductRecord/pccreate = anon
  591. ${adminPath}/mes/mesProductRecord/getConfig = anon
  592. ${adminPath}/mes/mesProductRecord/createOrder = anon
  593. ${adminPath}/mes/mesProductRecord/startWork = anon
  594. ${adminPath}/mes/mesProductRecord/bindRecord = anon
  595. ${adminPath}/mes/mesProductRecord/unbindRecord = anon
  596. ${adminPath}/mes/mesProductRecord/checkQualityMsg = anon
  597. ${adminPath}/mes/mesProductRecord/updateQualityMsg = anon
  598. ${adminPath}/mes/mesProductRecord/deviceState = anon
  599. ${adminPath}/mes/mesProductRecord/updateParams = anon
  600. ${adminPath}/mes/mesProductRecord/recordConfirm = anon
  601. ${adminPath}/mes/mesElectricTorque/batchSave = anon
  602. ${adminPath}/mes/mesProductYgsl/batchsave = anon
  603. ${adminPath}/mes/mesProductHb/upload = anon
  604. ${adminPath}/mes/mesProductCmt/batchsave = anon
  605. ${adminPath}/mes/mesDeviceState/add = anon
  606. ${adminPath}/mes/mesDeviceTime/list2 = anon
  607. ${adminPath}/mes/mesDeviceTime/listData2 = anon
  608. ${adminPath}/mes/mesProductGumming/add = anon
  609. ${adminPath}/mes/mesDeviceState/add = anon
  610. ${adminPath}/mes/mesLineProcessMaterial/materials = anon
  611. ${adminPath}/mes/mesProductGumming/getSn = anon
  612. ${adminPath}/mes/mesProductRecord/ccdcheck = anon
  613. ${adminPath}/mes/mesProductRecord/updateOprno = anon
  614. ${adminPath}/mes/mesProductRecord/checkQuality = anon
  615. ${adminPath}/mes/mesProduct/alarmData = anon
  616. ${adminPath}/mes/mesProcessAlarm/add = anon
  617. ${adminPath}/mes/mesProductRecord/checkDJ = anon
  618. ${adminPath}/mes/mesGp12Record/upload = anon
  619. ${adminPath}/mes/mesProductQm/addItem= anon
  620. ${adminPath}/mes/mesProductRecord/queryProduct = anon
  621. ${adminPath}/mes/mesProcessCheckRecord/addCheck2 = anon
  622. ${adminPath}/mes/mesGlueRecord/olist = anon
  623. ${adminPath}/mes/mesGlueRecord/listData2 = anon
  624. ${adminPath}/mes/mesGlueRecord/edit = anon
  625. ${adminPath}/mes/mesProductDbjBind/dbjBind = anon
  626. ${adminPath}/mes/mesGlueRecord/editSave = anon
  627. ${adminPath}/mes/mesScreenConfig/getScreenList = anon
  628. ${adminPath}/mes/mesScreenConfig/player = anon
  629. ${adminPath}/mes/mesProductRecord/select = anon
  630. ${adminPath}/mes/mesProductRecord/submit = anon
  631. ${adminPath}/mes/mesProductWsn/createSn = anon
  632. ${adminPath}/mes/mesProuctRecord/pcresult = anon
  633. ${adminPath}/mes/mesProductRecord/pccheck = anon
  634. ${adminPath}/mes/mesProductRecord/pccreate = anon
  635. ${adminPath}/mes/mesProductRecord/pcstart = anon
  636. ${adminPath}/mes/mesProductRecord/pcbind = anon
  637. ${adminPath}/mes/mesProductRecord/pcunbind = anon
  638. ${adminPath}/mes/mesProductRecord/pdaQueryIsSn = anon
  639. ${adminPath}/mes/mesProductRecord/pdaQueryQuality = anon
  640. ${adminPath}/mes/mesProductRecord/getCurSn= anon
  641. ${adminPath}/mes/mesProductRecord/cancelCurSn= anon
  642. ${adminPath}/mes/mesProductRecord/ocr= anon
  643. ${adminPath}/mes/mesProductProgress/pdaIn= anon
  644. ${adminPath}/mes/mesProductProgress/pdaOut= anon
  645. ${adminPath}/mes/mesMaterialKw/kwList= anon
  646. ${adminPath}/** = user
  647. # # URI 权限过滤器定义(以下参考,必须登录user可访问的地址和不需要登录anon可访问地址)
  648. # filterChainDefinitions: |
  649. # /ReportServer/** = user
  650. # ${adminPath}/file/** = anon
  651. # ${adminPath}/cms/* = anon
  652. # ${adminPath}/cms/site/select = anon
  653. # ${adminPath}/cms/site/* = anon
  654. # ${adminPath}/cms/category/treeData = anon
  655. # ${adminPath}/cms/category/* = anon
  656. # ${adminPath}/cms/article/* = anon
  657. # ${adminPath}/cms/link/* = anon
  658. # ${adminPath}/sys/corpAdmin/treeData = anon
  659. # ${adminPath}/${spring.application.name}/swagger/** = anon
  660. # ${adminPath}/** = user
  661. # Session 相关
  662. session:
  663. # 会话超时时间,单位:毫秒,10m=600000, 20m=1200000ms, 30m=1800000ms, 60m=3600000ms, 12h=43200000ms, 1day=86400000ms
  664. # 注意:如果超时超过30m,你还需要同步修改当前配置文件的属性:j2cache.caffeine.region.sessionCache 超时时间,大于这个值。
  665. # 游客会话超时时间:只访问了系统,但未登录系统的用户为游客,游客默认超时时间为10分钟,如:未登录系统时的图片验证码有效时间。
  666. sessionTimeout: 86400000
  667. # 登录系统后的用户超时时间(不明确 param_deviceType 参数的,默认设备为 pc 登录)
  668. pcSessionTimeout: 86400000
  669. # # 手机APP设备会话超时参数设置,登录请求参数加 param_deviceType=mobileApp 时有效,一般情况无需设置
  670. # mobileAppSessionTimeout: 1800000
  671. #
  672. # # 定时清理失效会话,清理用户直接关闭浏览器造成的孤立会话(设置为 0 关闭,微服务下只开启 core 即可)
  673. # sessionTimeoutClean: 1200000
  674. #
  675. # # 会话唯一标识SessionId在Cookie中的名称。
  676. # sessionIdCookieName: jeesite.session.id
  677. # #sessionIdCookiePath: ${server.servlet.context-path}
  678. #
  679. # # 共享的SessionId的Cookie名称,保存到跟路径下,第三方应用获取。同一域名下多个项目时需设置共享Cookie的名称。
  680. # shareSessionIdCookieName: ${session.sessionIdCookieName}
  681. #
  682. # # 其它 SimpleCookie 参数(v4.2.3)
  683. # sessionIdCookieSecure: false
  684. # sessionIdCookieHttpOnly: true
  685. # sessionIdCookieSameSite: LAX
  686. #
  687. # # 设置接收 SessionId 请求参数和请求头的名称
  688. # sessionIdParamName: __sid
  689. # sessionIdHeaderName: x-token
  690. #
  691. # # 当直接通过 __sid 参数浏览器访问页面时,可将直接将 __sid 写入 Cookie 应用于后面的访问
  692. # # 访问地址举例:http://host/js/a/index?__sid=123456&__cookie=true
  693. # writeCookieParamName: __cookie
  694. #
  695. # # 记住我的请求参数和请求头的名称(v4.2.3)
  696. # rememberMeHeaderName: x-remember
  697. # 系统缓存配置
  698. #j2cache:
  699. #
  700. # # 一级缓存
  701. # caffeine:
  702. # region:
  703. # #[cacheName]: size, xxxx[s|m|h|d]
  704. # default: 10000, 1h
  705. # sessionCache: 100000, 12h
  706. #
  707. # # 二级缓存
  708. # redis:
  709. # # 存储模式 (generic|hash)
  710. # storage: hash
  711. # # 通知订阅的通道名
  712. # channel: j2cache
  713. # # 缓存命名空间名
  714. # namespace: jeesite
  715. # # 消息监听器
  716. # listener:
  717. # taskPool:
  718. # corePoolSize: 8
  719. # maxPoolSize: 20
  720. # keepAliveSeconds: 60
  721. # queueCapacity: 1000
  722. #
  723. # # 通知订阅
  724. # broadcast:
  725. # # 缓存清理模式
  726. # # passive -> 被动清除,一级缓存过期进行通知各节点清除一二级缓存
  727. # # active -> 主动清除,二级缓存过期主动通知各节点清除,优点在于所有节点可以同时收到缓存清除,存储模式需要设置为 generic
  728. # # blend -> 两种模式一起运作,对于各个节点缓存准确以及及时性要求高的可以使用,正常用前两种模式中一个就可
  729. # cache_clean_mode: passive
  730. # MyBatis 相关
  731. mybatis:
  732. # @MyBatisDao、Aliases 扫描基础包,如果多个,用“,”分隔
  733. scanBasePackage: com.jeesite.modules
  734. # # TypeHandlers 扫描基础包,如果多个,用“,”分隔
  735. # scanTypeHandlersPackage: ~
  736. #
  737. # # 是否开启 JDBC 管理事务,默认 Spring 管理事务 v4.2.3
  738. # jdbcTransaction: false
  739. #
  740. # # 批量插入和更新的分批默认大小(防止库一次性接受不了太大的sql语句)
  741. # defaultBatchSize: 500
  742. # Mapper文件刷新线程
  743. mapper:
  744. refresh:
  745. enabled: true
  746. # delaySeconds: 60
  747. # sleepSeconds: 3
  748. # mappingPath: mappings
  749. # Web 相关
  750. web:
  751. # # AJAX 接受参数名和请求头名(v4.3.0)
  752. # ajaxParamName: __ajax
  753. # ajaxHeaderName: x-ajax
  754. #
  755. # # MVC 视图相关
  756. # view:
  757. #
  758. # # 系统主题名称,主题视图优先级最高,如果主题下无这个视图文件则访问默认视图
  759. # # 引入页面头部:'/themes/'+themeName+'/include/header.html'
  760. # # 引入页面尾部:'/themes/'+themeName+'/include/footer.html'
  761. # themeName: default
  762. #
  763. # # 使用智能参数接收器,同时支持 JSON 和 FormData 的参数接受
  764. # smartMethodArgumentResolver: true
  765. #
  766. # # 使用 .json、.xml 后缀匹配返回视图数据(Spring官方已不推荐使用)
  767. # favorPathExtension: false
  768. # # 使用 __ajax=json、__ajax=xml 后缀匹配返回视图数据
  769. # favorParameter: true
  770. # # 使用 x-ajax=json、x-ajax=xml 请求头匹配返回视图数据
  771. # favorHeader: true
  772. # MVC 拦截器
  773. interceptor:
  774. # 后台管理日志记录拦截器
  775. log:
  776. enabled: true
  777. addPathPatterns: >
  778. ${adminPath}/**
  779. excludePathPatterns: >
  780. ${adminPath}/index,
  781. ${adminPath}/login,
  782. ${adminPath}/desktop,
  783. ${adminPath}/index/menuTree,
  784. ${adminPath}/sys/online/count,
  785. ${adminPath}/**/server/rtInfo,
  786. ${adminPath}/**/treeData,
  787. ${adminPath}/file/**,
  788. ${adminPath}/tags/*,
  789. ${adminPath}/msg/**
  790. # 前台自动切换到手机视图拦截器
  791. mobile:
  792. enabled: false
  793. addPathPatterns: >
  794. ${frontPath}/**
  795. excludePathPatterns: ~
  796. # # 静态文件后缀,过滤静态文件,以提高访问性能。
  797. # staticFile: .css,.js,.map,.png,.jpg,.gif,.jpeg,.bmp,.ico,.swf,.psd,.htc,.crx,.xpi,.exe,.ipa,.apk,.otf,.eot,.svg,.ttf,.woff,.woff2
  798. #
  799. # # 静态文件后缀,排除的url路径,指定哪些uri路径不进行静态文件过滤。
  800. # staticFileExcludeUri: /druid/
  801. #
  802. # # 静态资源路径前缀,可做 CDN 加速优化,默认前面增加 ctxPath 前缀,如果前面写 “//” 两个斜杠 或 包含 “://” 不加 ctxPath。
  803. # staticPrefix: /static
  804. #
  805. # # 严格模式(更严格的数据安全验证)
  806. # strictMode: false
  807. #
  808. # # 自定义正则表达式验证(主键、登录名)
  809. validator:
  810. id: '[a-zA-Z0-9_\-/#\u4e00-\u9fa5]{0,64}'
  811. user.loginCode: '[a-zA-Z0-9_\u4e00-\u9fa5]{1,20}'
  812. #
  813. # # 默认的日期格式(JsonMapper)
  814. # json:
  815. # defaultDateFormat: yyyy-MM-dd HH:mm:ss
  816. #
  817. # # 默认不启用(为兼用旧版保留,建议使用 CORS)
  818. # jsonp:
  819. # enabled: false
  820. # callback: __callback
  821. # 核心模块的Web功能(仅作为微服务时设为false)
  822. core:
  823. enabled: true
  824. # 在线API文档工具
  825. swagger:
  826. enabled: true
  827. # 错误页面500.html是否输出错误信息(正式环境,为提供安全性可设置为false)
  828. error:
  829. page:
  830. printErrorInfo: true
  831. #======================================#
  832. #======== FileUpload settings =========#
  833. #======================================#
  834. # 文件上传
  835. file:
  836. enabled: true
  837. # # 文件上传根路径,设置路径中不允许包含“userfiles”,在指定目录中系统会自动创建userfiles目录,如果不设置默认为contextPath路径
  838. baseDir: E:/mescloud
  839. # baseDir: /www/wwwroot/mes_cloud_dy
  840. #
  841. # # 上传文件的相对路径(支持:yyyy, MM, dd, HH, mm, ss, E)
  842. uploadPath: 'files1/{yyyy}{MM}/'
  843. #
  844. # # 上传单个文件最大字节(500M),在这之上还有 > Tomcat限制 > Nginx限制,等,此设置会覆盖 spring.http.multipart.maxFileSize 设置
  845. # maxFileSize: '500*1024*1024'
  846. #
  847. # # 设置允许上传的文件后缀(全局设置)
  848. # imageAllowSuffixes: .gif,.bmp,.jpeg,.jpg,.ico,.png,.tif,.tiff,
  849. # mediaAllowSuffixes: .flv,.swf,.mkv,webm,.mid,.mov,.mp3,.mp4,.m4v,.mpc,.mpeg,.mpg,.swf,.wav,.wma,.wmv,.avi,.rm,.rmi,.rmvb,.aiff,.asf,.ogg,.ogv,
  850. # fileAllowSuffixes: .doc,.docx,.rtf,.xls,.xlsx,.csv,.ppt,.pptx,.pdf,.vsd,.txt,.md,.xml,.rar,.zip,.7z,.tar,.tgz,.jar,.gz,.gzip,.bz2,.cab,.iso,.ipa,.apk,
  851. #
  852. # # 允许上传的文件内容类型(图片、word、excel、ppt)防止修改后缀恶意上传文件(默认不启用验证)
  853. # #allowContentTypes: image/jpeg,image/gif,image/bmp,image/png,image/x-png,
  854. # # application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,
  855. # # application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,
  856. # # application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation
  857. #
  858. # # 上传图片自动压缩宽高,指定为 -1 不进行压缩(全局设置) v4.1.7
  859. #imageMaxWidth: 1024
  860. #imageMaxHeight: 768
  861. imageMaxWidth: -1
  862. imageMaxHeight: -1
  863. #
  864. # # 是否启用秒传
  865. # checkmd5: true
  866. #
  867. # # 是否开启分片上传
  868. # chunked: true
  869. # # 分片大小,单位字节(10M)
  870. # chunkSize: '10*1024*1024'
  871. # # 最大上传线程数
  872. # threads: 3
  873. #
  874. # # 是否启用检查点(支持断点续传,上传)
  875. # checkpoint: true
  876. #
  877. # # 是否用文件流方式下载(支持断点续传,下载)
  878. # isFileStreamDown: true
  879. # 视频转码
  880. #video:
  881. #
  882. # # 视频格式转换 ffmpeg.exe 所放的路径
  883. # ffmpegFile: d:/tools/video/ffmpeg-4.9/bin/ffmpeg.exe
  884. # #ffmpegFile: d:/tools/video/libav-10.6-win64/bin/avconv.exe
  885. #
  886. # # 视频格式转换 mencoder.exe 所放的路径
  887. # mencoderFile: d:/tools/video/mencoder-4.9/mencoder.exe
  888. #
  889. # # 将mp4视频的元数据信息转到视频第一帧
  890. # qtFaststartFile: d:/tools/video/qt-faststart/qt-faststart.exe
  891. # 文件管理是否启用租户模式
  892. #filemanager:
  893. # useCorpModel: false
  894. #======================================#
  895. #========== Message settings ==========#
  896. #======================================#
  897. # 消息提醒中心(专业版)
  898. msg:
  899. enabled: false
  900. # # 是否开启实时发送消息(保存消息后立即检查未读消息并发送),分布式部署下请单独配置消息发送服务,不建议开启此选项。
  901. # realtime:
  902. # # 是否开启
  903. # enabled: true
  904. # # 消息实时推送任务Bean名称
  905. # beanName: msgLocalPushTask
  906. # # 消息推送线程池
  907. # pushTaskPool:
  908. # corePoolSize: 5
  909. # maxPoolSize: 20
  910. # keepAliveSeconds: 60
  911. #
  912. # # 推送失败次数,如果推送次数超过了设定次数,仍不成功,则放弃并保存到历史
  913. # pushFailNumber: 3
  914. #
  915. # # 邮件发送参数
  916. # email:
  917. # beanName: emailSendService
  918. # fromAddress: test@163.com
  919. # fromPassword: 123456
  920. # fromHostName: smtp.163.com
  921. # sslOnConnect: false
  922. # sslSmtpPort: 994
  923. #
  924. # # 短信网关
  925. # sms:
  926. # beanName: smsSendService
  927. # url: http://localhost:80/msg/sms/send
  928. # data: username=jeesite&password=jeesite.com
  929. # prefix: 【JeeSite】
  930. # suffix: ~
  931. #======================================#
  932. #========== Project settings ==========#
  933. #======================================#