作者:Eddy  历史版本:1  最后编辑:Eddy  更新时间:2024-06-27 10:21

Platform服务配置

本章节内容是基础服务Platform配置的环境属性;

#-系统发送消息配置的路径
baseUrl=http://localhost
#-开发ID,默认lc
#-每个人的ID必须不一样,建议使用电话号码或工号
appid=lc
#-项目路径 这个是开发时配置的路径
project.path=
#-是否显示版本信息
showVer=true

##---------数据库配置---------
#-数据库类型 oracle,mysql,postgres,mssql
db.dbType=mysql
#-工作ID (0~31)
id.worker-id=0
#-数据中心ID (0~31)
id.datacenter-id=0

#-定时器分组
quartz.group=common,org,bpmn
#-是否自动启动
quartz.auto.startup=false

##---------disruptor配置---------
#-是否启用disruptor
disruptor.invoke.enabled=true
#-disruptor缓冲大小
disruptor.bufferSize=1024
#-disruptor线程小效
disruptor.threadSize=1024
#-disruptor等待策略方式
disruptor.waitStrategy.strategy=blocking
#-disruptor等待策略超时时间,单位seconds
disruptor.waitStrategy.timeout=3

#-管理员账号,授权审批、流程催办自动结束流程需要使用,多个请用“,”分隔
admin.account=admin
#-是否开启数据提交接口限制配置,v3.2.4配置
app.submit.limit.enabled=false

#-接口调用限制
auth.app.api.limit=120
auth.app.api.test.limit=60

#fastdfs:fastdfs,db:数据库,disk:硬盘,mongodb:mongo数据库
file.saveType=fastdfs
#-window系统采用\\,linux采用/
file.upload=/tmp/file/provider/platform
#- 文件上传的格式路径 ,默认 {uploadType}/{yyyy}/{MM};
#-可以支持{curAccount}、 {curUserName}、{yyyy}、{MM}、{dd},文件夹中间/分割
file.formatTpl={uploadType}/{yyyy}/{MM}
#-最大文件上传限制,单位字节. 100M=100*1024*1024(B)=104857600 bytes 
file.maxUploadSize=104857600
#-追踪服务器地址
fastdfs.common.tracker-servers=

#----------阿里云.云通信短信服务配置----------
#--企业版集成
enterprise.sms.api.appkey=LTAI8XGvixxxxxxx
enterprise.sms.api.secret=iGURwRWtcGqr7Z2xxxxxxxx
enterprise.sms.api.signName=流辰信息
enterprise.sms.api.templateCode=SMS_xxxx
enterprise.sms.api.notice.signName=流辰信息
enterprise.sms.api.notice.templateCode=SMS_xxxxx

#-系统发送微信消息配置的路径
wechatBaseUrl=http://localhost:9090/wechat
#-请求企业微信token的api地址
wechat.getToken=https://qyapi.weixin.qq.com/cgi-bin/gettoken
#-企业微信发送消息api地址
wechat.sendMessage= https://qyapi.weixin.qq.com/cgi-bin/message/send
#-微信应用的agentid
wechat.agentId=1
#-企业微信企业corpid
wechat.corpid=wxfb97c28xxxxxxxx
#-企业微信corpsecret
wechat.corpsecret=yZqBRWlwRoi4y9KA2nlA2WCRzRlixVxjy2cI-b36xxxxxxxxxxxxxxxx
#-发送微信消息的类型
wechat.messageType=text

#-office预览集成端口(仅冲突是配置,无冲突时不需要配置)
office.port=2002
#-office home目录
office.home=/tmp/OpenOffice4/provider/business
#-office输出目录
office.outputDir=/tmp/file/provider/business