server.port=8888
|
#登录超时-秒
|
server.servlet.session.timeout=36000
|
#服务路径
|
server.servlet.context-path=/jshERP-boot
|
#数据库连接
|
spring.datasource.url=jdbc:mysql://47.96.225.205:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
|
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
spring.datasource.username=root
|
spring.datasource.password=CloudRoam
|
#mybatis-plus配置
|
mybatis-plus.mapper-locations=classpath:./mapper_xml/*.xml
|
|
|
# Redis
|
#spring.redis.host=192.168.1.235
|
spring.redis.host=192.168.1.235
|
spring.redis.port=6379
|
spring.redis.password=123456
|
#租户对应的角色id
|
manage.roleId=10
|
#租户允许创建的用户数
|
tenant.userNumLimit=1000000
|
#租户允许试用的天数
|
tenant.tryDayLimit=3000
|
#插件配置
|
plugin.runMode=prod
|
plugin.pluginPath=plugins
|
plugin.pluginConfigFilePath=pluginConfig
|
#文件上传方式 1-本机 2-oss
|
file.uploadType=1
|
#文件上传根目录
|
file.path=/opt/jshERP/upload
|
#文件上传临时路径
|
server.tomcat.basedir=/opt/tmp/tomcat
|
#文件上传限制(byte)
|
spring.servlet.multipart.max-file-size=10485760
|
spring.servlet.multipart.max-request-size=10485760
|
|
# ???????
|
volc.sms.access-key= your-volc-access-key # ???AccessKey
|
volc.sms.secret-key= your-volc-secret-key # ???SecretKey
|
volc.sms.region= cn-north-1 # ??????????
|
volc.sms.sign-name= ????? # ????
|
volc.sms.template-id= SMS_1234567890 # ????ID
|
|
pagehelper.helper-dialect=mysql
|
pagehelper.reasonable=true
|
pagehelper.support-methods-arguments=true
|
pagehelper.params=count=countSql
|