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

Oauth2Server服务配置

本章节内容是认证服务Oauth2Server配置的环境属性;

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

#-定时器分组
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

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

#----------阿里云.云通信短信服务配置----------
#--企业版集成
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


#-请求企业微信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