application.yml 37 KB

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