openerp/jshERP-boot/src/main/resources/application.properties

38 lines
1.2 KiB
Properties
Raw Normal View History

2021-04-19 00:04:14 +08:00
server.port=9999
2021-04-07 23:53:57 +08:00
#登录超时-秒
server.servlet.session.timeout=36000
#服务路径
server.servlet.context-path=/jshERP-boot
#数据库连接
2021-04-08 00:33:30 +08:00
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
2025-08-21 09:46:48 +08:00
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
2021-04-07 23:53:57 +08:00
spring.datasource.username=root
2025-08-21 09:46:48 +08:00
spring.datasource.password=AWS2025aws!
2021-04-07 23:53:57 +08:00
#mybatis-plus配置
mybatis-plus.mapper-locations=classpath:./mapper_xml/*.xml
# Redis
spring.redis.host=127.0.0.1
spring.redis.port=6379
2025-08-21 09:46:48 +08:00
spring.redis.password=
2021-04-07 23:53:57 +08:00
#租户对应的角色id
manage.roleId=10
#租户允许创建的用户数
tenant.userNumLimit=1000000
2021-08-25 00:44:05 +08:00
#租户允许试用的天数
tenant.tryDayLimit=3000
2021-04-07 23:53:57 +08:00
#插件配置
plugin.runMode=prod
plugin.pluginPath=plugins
2021-06-30 00:53:56 +08:00
plugin.pluginConfigFilePath=pluginConfig
#文件上传方式 1-本机 2-oss
file.uploadType=1
2021-06-30 00:53:56 +08:00
#文件上传根目录
2021-07-02 21:04:48 +08:00
file.path=/opt/jshERP/upload
#文件上传临时路径
server.tomcat.basedir=/opt/tmp/tomcat
2021-07-02 21:04:48 +08:00
#文件上传限制(byte)
spring.servlet.multipart.max-file-size=10485760
2025-08-21 09:46:48 +08:00
spring.servlet.multipart.max-request-size=10485760
#bpm接口地址
awspaas.bpm.url=http://127.0.0.1:8088/api